
/**
RESPONSIVE FORM
==============================
 */
@media (min-width: 960px) {
    #modal-new-order .custom-row .uk-grid > div:last-child {
        margin-top: 0;
    }
}


@media (max-width: 1200px) {
    .full-order__field:not(.full-order__counterparties_two) {
        display: grid;
        grid-template-columns: 0.5fr 1fr;
        margin-bottom: 20px;
    }
}

@media (max-width: 960px) {

    .order__type-document-text,
    .order__status-text {
        display: none;
    }

    .order__type-document-img,
    .order__status-active .order__status-img-full,
    .order__status-paid .order__status-img-full,
    .order__status-month .order__status-img-short,
    .order__status-img-close,
    .facturs__table .order__status-img {
        display: block;
    }

    .uk-table td {
        padding: 13px 9px;
        font-size: 15px;
    }

    .facturs-modal__wrapper {
        max-width: calc(100% - 100px) !important;
        overflow: auto;
    }

    .callback-btn:after,
    .callback-btn {
        width: 100px;
        height: 100px;
    }

    .callback-btn__circle {
        width: 65px;
        height: 65px;
    }

    .callback-btn {
        bottom: 25px;
        right: 25px;
        padding: 15px;
    }


}

@media (max-width: 768px) {

    .order__status-img,
    .order__status-img-close {
        height: 25px;
        width: 25px;
    }

    .order__type-document-img {
        height: 25px;
        width: 30px;

    }

    .desktop-menu__profile,
    .desktop-menu__new-entry {
        display: none;
    }

    .main-menu__wrapper {
        display: flex;
        justify-content: space-between;
        align-content: center;
    }

    .nav-actions a,
    #filter-records input[type="submit"],
    #filter-records .filter-records__reset-btn,
    #js-edit-order-form input[type="submit"],
    #js-edit-order-form input[type="submit"] + #js-remove-record,
    .full-order__delete #js-remove-file,
    .uk-modal input[type="submit"] {
        font-size: 13px;
        padding: 5px 15px;
        line-height: 140%;

    }

    .uk-modal h2 {
        font-size: 25px;
    }

    .full-order__status {
        line-height: 1.5;
    }

    .mob-filter-btn,
    .mob-nav-action-btn,
    .mob-user-btn {
        display: block;
    }

    .filter-block_wrapper,
    .nav-actions-block_wrapper,
    .mob-dropdown-user-profile {
        position: absolute;
        top: 0;
        right: 30px;
        z-index: 1;
        max-width: 250px;
        display: none;
    }

    .filter-block_wrapper {
        margin-top: 0 !important;
    }

    header {
        margin-bottom: 25px;
    }

    .nav-actions-block_wrapper .nav-actions a {
        width: 100%;
        margin-bottom: 10px;
    }

    .filter-records__item {
        margin-right: 0;
        width: 100%;
        margin-bottom: 5px;
    }

    .nav-actions-block_wrapper .uk-grid > div:last-child {
        display: none;
    }

    .filter-records__submit input[type="submit"] {
        margin-bottom: 10px;
    }


}

@media (max-width: 678px) {
    .nav-actions a {
        margin-bottom: 10px;
    }

    .full-order__edit-wrapper .full-order__field {
        grid-template-columns: 1fr;
    }

    .full-post__wrapper .full-order__field {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .full-order__label {
        margin-bottom: 10px;
    }

    .full-order__value {
        margin-left: 0;
    }

    .form-login__wrapper {
        width: 300px;
    }

    .custom-row .custom-column-3 {
        grid-template-columns: 1fr;
    }

    .custom-row .custom-column-3:nth-child(2),
    .custom-row .custom-column-3:nth-child(3) {
        margin-top: 15px;
    }

    .facturs-modal__modal-bottom {
        display: block;
    }

    .facturs-modal__modal-bottom .uk-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .facturs-modal__modal-bottom .uk-button-default {
        margin-bottom: 0;
    }

    .facturs-modal__modal-bottom .uk-margin-right {
        margin-right: 0 !important;
    }

}

@media (max-height: 800px) {
    .facturs-modal__wrapper {
        max-height: 75vh;

    }

    .sidebar-counterparties .uk-button {
        margin: 0 5px 5px 0;
    }

    .uk-button {
        line-height: 28px;
    }
}
