@charset "UTF-8";

@media (max-width: 1279px) {
    .container {
        box-sizing: border-box;
        max-width: 1102px;
    }

    .personal-fines {
        font-size: 16px;
        line-height: 20px;
    }

    .personal-fines-data {
        width: 115px;
        padding-right: 0;
    }

    .personal-fines-number {
        width: 205px;
    }

    .personal-fines-auto {
        width: 150px;
    }

    .fines-pay-item {
        color: #C80815;
        font-size: 16px;
        line-height: 20px;
    }

    .status-paid {
        font-size: 16px;
        line-height: 20px;
    }

    .personal-fines-price {
        margin-right: 20px;
    }
}

@media (max-width: 1023px) {
    .container {
        max-width: 668px;
        padding-right: 38px;
        padding-left: 38px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .form {
        max-width: 608px;
    }

    .form__item .right {
        width: 358px;
    }

    .form form {
        padding: 80px 30px;
    }

    .header__numbers {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .header__price {
        margin: 0 0 10px 10px;
    }

    .car-info__characteristic-title {
        min-width: 185px;
    }

    .content-balance {
        justify-content: center;
        margin-top: 60px;
        flex-wrap: wrap;
    }

    .card-name {
        justify-content: center;
        font-size: 32px;
        line-height: 42px;
    }

    .balance-block {
        margin-top: 60px;
    }

    .history {
        margin-left: auto;
        margin-top: 60px;
    }

    .personal-fines-data {
        width: 86px;
    }

    .personal-fines-title {
        padding-left: 18px;
        padding-right: 18px;
    }

    .personal-fines-item {
        padding: 14px 10px;
        font-size: 14px;
        line-height: 18px;
    }

    .personal-fines-auto {
        width: 88px;
        margin-right: 0;
        padding-left: 40px;
    }

    .personal-fines-item .personal-fines-number {
        font-size: 14px;
        line-height: 18px;
    }

    .personal-fines-number {
        width: 182px;
        padding: 0;
    }

    .personal-fines-price {
        width: 72px;
        margin-right: 10px;
    }

    .personal-fines-button {
        margin: 60px 0 80px;
    }

    .detail__fine .header {
        font-size: 20px;
        align-items: end;
    }

    .detail__fine .header__fine {
        margin-bottom: 0;
        width: 488px;
    }

    .detail__fine .header__price-fine {
        margin: 0 12px 0 10px;
    }

    .detail__fine .header__numbers form {
        margin-top: 34px;
    }

    .detail__fine .fine-info-item {
        font-size: 20px;
        width: 420px;
    }

    .detail__fine .fine-detail-time {
        align-items: initial;
        margin-top: 25px;
    }

    .detail__fine .header__fines-link {
        margin-top: 6px;
    }
}

@media (max-width: 920px) {
    #popup-window-contracts table {
        border: 0;
    }

    #popup-window-contracts table caption {
        font-size: 1.3em;
    }

    #popup-window-contracts table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    #popup-window-contracts table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    #popup-window-contracts table tr .vehicle {
        width: auto;
    }

    #popup-window-contracts table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    #popup-window-contracts table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    #popup-window-contracts table td:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
        line-height: 20px;
    }

    .container {
        box-sizing: border-box;
        max-width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }

    .form {
        max-width: 100%;
    }

    .form__item .right {
        margin-top: 7px;
        width: 100%;
        flex-wrap: wrap;
        text-align: center;
    }

    .logo {
        font-size: 26px;
        line-height: 32px;
    }

    .phone {
        font-size: 20px;
        line-height: 24px;
    }

    .title {
        font-size: 24px;
        line-height: 30px;
    }

    .main {
        margin-top: 24px;
    }

    .form {
        margin: 40px auto 0 auto;
    }

    .form form {
        padding: 16px 0;
        border: none;
    }

    .form__item {
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .form__item .right > div {
        margin-bottom: 24px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .form__item .right > div div {
        text-align: center;
        width: 100%;
    }

    .form__buttons {
        margin-top: 28px;
    }

    .remember-password-link {
        margin-left: 0;
    }

    .remember-password-label {
        font-size: 16px;
        margin-left: 0;
    }

    .btn {
        font-size: 16px;
        line-height: 20px;
    }

    .exit-block {
        flex-wrap: wrap-reverse;
    }

    .exit-block div {
        width: 100%;
    }

    .exit-link {
        margin-left: auto;
        margin-bottom: 18px;
    }

    .detail .header {
        flex-wrap: wrap;
    }

    .header {
        font-size: 16px;
        line-height: 20px;
    }

    .header__client {
        font-size: 16px;
        line-height: 20px;
    }

    .header__numbers .header__title {
        margin-top: 20px;
    }

    .header__price {
        margin: 20px 0 0 10px;
    }

    .header__button {
        margin-top: 14px;
        margin-left: 20px;
    }

    .car-info__characteristic-title {
        min-width: 130px;
        max-width: 130px;
        width: 130px;
    }

    .car-info__items {
        padding: 25px 0;
        background: #FFF;
    }

    .car-info__item {
        font-size: 14px;
        line-height: 18px;
    }

    .tabs {
        margin-top: 20px;
    }

    .content-balance {
        margin-top: 50px;
    }

    .tabs__item {
        font-size: 16px;
        line-height: 20px;
        padding: 9px;
    }

    .card-name {
        font-size: 24px;
        line-height: 30px;
        flex-wrap: wrap;
    }

    .balance-block__item {
        margin-left: 62px;
    }

    .balance {
        width: 100%;
    }

    .balance-block {
        padding: 20px;
    }

    .history__title {
        font-size: 16px;
        line-height: 20px;
    }

    .history__content {
        padding: 10px 0 0 12px;
    }

    .history__item {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 40px;
    }

    .history__search form {
        margin-left: 8px;
    }

    .white-popup-block {
        padding: 32px 10px 10px 10px;
        max-width: 100%;
        line-height: 18px;
    }

    #popup-put-money-account .prices {
        flex-wrap: wrap;
    }

    #popup-put-money-account .payment-rent-block {
        margin-top: 40px;
        width: 100%;
        text-align: center;
    }

    .price-slider {
        width: 80%;
    }

    .content-fines {
        margin-top: 60px;
    }

    .personal-fines-header.personal-fines-title {
        display: none;
    }

    .personal-fines-item .personal-fines-title {
        display: flex !important;
        padding: 0;
        font-weight: 500;
    }

    .personal-fines-data {
        width: 78px;
        margin-right: 10px;
    }

    .personal-fines-item {
        padding: 14px 8px;
        font-weight: 500;
    }

    .personal-fines-number {
        width: 172px;
    }

    .personal-fines-title .personal-fines-number {
        padding-left: 4px;
    }

    .personal-fines-auto {
        margin-top: 22px;
    }

    .personal-fines-auto {
        width: 228px;
    }

    .personal-fines-price {
        margin-top: 23px;
        font-size: 16px;
        line-height: 20px;
        font-weight: 600;
    }

    .personal-fines-pay {
        margin-top: 14px;
        margin-left: 20px;
    }

    .personal-fines-pay form {
        border: 1px solid #C80815;
        border-radius: 4px;
        width: 150px;
        text-align: center;
        height: 38px;
        line-height: 38px;
    }

    .personal-fines-button {
        flex-wrap: wrap;
        margin: 30px 0 40px;
    }

    .personal-fines-button form {
        margin-top: 10px;
    }

    footer {
        margin: 60px 0 20px 0;
        font-size: 14px;
    }

    .detail__fine .header__fine-block {
        flex-wrap: wrap-reverse;
    }

    .detail__fine .header__fines-link {
        font-size: 16px;
        line-height: 20px;
    }

    .detail__fine .header__fine {
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin-top: 36px;
    }

    .detail__fine {
        margin-top: 25px;
    }

    .detail__fine .fine-detail-time {
        padding-top: 20px;
        background: #F5F5F5;
    }

    .detail__fine .fine-info-item {
        background: #F5F5F5;
        font-size: 16px;
        line-height: 20px;
        width: 100%;
        padding: 0 15px 20px 15px;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    .detail__fine .header__numbers-desktop {
        display: none;
    }

    .detail__fine .header__numbers-mobile {
        display: flex;
        justify-content: center;
        margin-top: 24px;
    }

    .detail__fine .header__price-fine {
        margin: 0;
    }

    .detail__fine .header__numbers form {
        margin-top: 0;
        width: 100%;
        text-align: center;
    }

    .detail__fine .header__numbers .header__title {
        margin: 0 10px 0 0;
    }

    .detail__fine .tabs {
        margin-top: 40px;
    }

    .detail__fine .content-fine {
        font-size: 16px;
        line-height: 22px;
    }

    .detail__fine .fine-description {
        font-size: 14px;
        line-height: 20px;
    }

    .detail__fine .fine-photos img {
        margin-bottom: 20px;
    }

    .detail__fine .fine-total {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .detail__fine .fine-total form {
        margin-top: 13px;
    }

    .admin-panel-link {
        top: 66px;
        left: 10px;
    }

    #popup-put-money-account .prices__name {
        font-size: 14px;
    }

    #popup-window-payment-card .cards-item {
        border-bottom: none;
    }

    .preloader {
        padding-bottom: 26px;
    }

    .offer-text .text {
        font-size: 14px;
        line-height: 24px;
    }

    #popup-window-operations .history__name {
        width: 100%;
        text-align: center;
    }

    #popup-window-operations .history__content {
        flex-wrap: wrap;
        justify-content: space-around;
    }
}
