/* windows-1251 */
/* tpl/footer.view.css - task-04: podval pereveden s layout-tablic na flex (flex-wrap).
   Desktop: 4 kolonki (185/173/190/flex) s razdelitelyami border-left;
   <=768px: kolonki vertikalno, centrirovanie, kompaktnye otstupy. */

.footer-main {
    min-height: 100px;
    box-sizing: border-box;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
    padding-left: 30px;
}

.footer-blocks {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.footer-block-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 1px solid #C2D2E7;
}

.footer-block-col-w185 { flex: 0 0 185px; width: 185px; }
.footer-block-col-w173 { flex: 0 0 173px; width: 173px; }
.footer-block-col-w190 { flex: 0 0 190px; width: 190px; }
.footer-block-col-flex { flex: 1 1 auto; }

.footer-block-label {
    box-sizing: border-box;
    min-width: 80px;
    min-height: 20px;
    line-height: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #AE0068;
}

.footer-block-label-wide {
    min-width: 130px;
}

.footer-block-info,
.footer-block-text {
    align-self: stretch;
    box-sizing: border-box;
    padding-top: 17px;
    padding-left: 10px;
    background: white;
    text-align: left;
    min-height: 40px;
}

.footer-block-text {
    color: #666666;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

.footer-bottom {
    padding-top: 14px;
    padding-left: 19px;
    padding-right: 8px;
    padding-bottom: 18px;
}

.footer-bottom-inner {
    display: flex;
    align-items: flex-start;
}

.footer-counters {
    flex: 0 0 50%;
    text-align: left;
}

.footer-copyright {
    flex: 1 1 auto;
    font-family: Arial, sans-serif;
    color: #B2B2B2;
    font-size: 10px;
    font-weight: bold;
    text-align: right;
}

.footer-counter-img {
    border: 0;
}

@media (max-width: 768px) {
    .footer-main {
        min-height: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-blocks {
        flex-direction: column;
    }

    .footer-block-col,
    .footer-block-col-w185,
    .footer-block-col-w173,
    .footer-block-col-w190 {
        flex: 0 0 auto;
        width: 100%;
        align-items: center;
        border-left: none;
        border-top: 1px solid #C2D2E7;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .footer-blocks > .footer-block-col:first-child {
        border-top: none;
    }

    .footer-block-info,
    .footer-block-text {
        padding-top: 8px;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    .footer-block-text .trm-socials {
        justify-content: center;
    }

    .footer-bottom {
        padding: 10px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
    }

    .footer-counters {
        flex: 0 0 auto;
        text-align: center;
    }

    .footer-copyright {
        flex: 0 0 auto;
        text-align: center;
        margin-top: 10px;
    }
}


/* v3-task-01: shirina plashok-metok podvala kak na prode. U proda vnutrennyaya
   tablica kolonki pereraspredelyaet deficit shiriny i rasshiryaet plashku:
   col1 (PISHITE) 103px, col4 (MY V SOCSSETYAHH) 160px. Lokal davala
   min-content 83/134 -> tekst metok uje na 10/13px. Desktop-only. */
@media (min-width: 769px) {
    .footer-block-col-w185 .footer-block-label {
        min-width: 103px;
    }
    .footer-block-label-wide {
        min-width: 160px;
    }
}
