footer {
    background: #0c0c0c;
}

footer h2, footer span, footer p {
    color: #fff;
}

footer .container {
    padding: 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

footer .ten-dia-chi {
    text-align: center;
    padding: 1em 0;
    line-height: 2em;
}

footer .ten-dia-chi h3 {
    color: black;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 0.6em;
}

footer .box {
    flex-basis: 24%;
}

footer .box h2 {
    margin-bottom: 15px;
}

footer .box .item {
    padding: 8px 0;
}

footer .box .item:last-child {
    padding-bottom: 0;
}

footer .box .item i {
    margin-right: 2px;
    color: var(--black);
}

footer .box .item a {
    text-transform: capitalize;
    color: var(--black);
}

footer .box .item a:hover {

    text-decoration: underline;
}

footer .sub-footer {
    text-align: center;
    padding: 10px 0;
    background: #e8eddf;
    border-top: 2px solid var(--white);
}

footer .sub-footer .box {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .sub-footer .box .icon {
    margin: 0 4px;
}

footer .sub-footer a {
    font-weight: bold;
    color: var(--black);
}

footer .sub-footer a:hover {
    color: var(--red);
}

.container2 {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1em;
    text-align: center;
    line-height: 3em;
}

.container2 p {
    padding-top: 1em;

}

.container2 span a {
    color: #fff;
    font-weight: bold;
}

.container2 span a:hover {
    color: red;
    text-decoration: underline;
}

@media only screen and (max-width: 1200px) {
    footer .container {
        padding: 20px 15px;
    }
}

@media only screen and (max-width: 768px) {
    footer .container {
        flex-wrap: wrap;
    }

    footer .box-info {
        flex-basis: 100%;
        margin-bottom: 25px;
    }

    footer .box-page {
        flex-basis: 49%;
    }

    footer .box h2 {
        margin-bottom: 10px;
    }

    footer .sub-footer .box {
        flex-direction: column;
    }

    footer .sub-footer .box .icon {
        display: none;
    }

    footer .sub-footer .box p {
        margin-bottom: 5px;
    }

    footer .sub-footer .box p:last-child {
        margin-bottom: 0;
    }

    .fix-map {
        margin-top: 1em;
        flex-basis: 100% !important;

    }

    .fix-map iframe {
        flex-basis: 100% !important;
        width: 100%;
        height: 200px;
    }

    .container2 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (max-width: 576px) {
    footer .container {
        padding: 15px 10px;
    }

    .fix-map iframe {
        flex-basis: 100%;
    }

    span.phone-b {
        display: inline-flex;
        flex-basis: 100%;
    }
}

/*thiết bị có độ phân giải cao nhất 420px*/
@media only screen and (max-width: 420px) {
    /*fix bản đồ chan trang*/
    .fix-map {
        margin-top: 1.5em !important;
        flex-basis: 100% !important;
    }

    .fix-map iframe {
        width: 100% !important;

    }
}


@media only screen and (max-width: 365px) {
    footer .sub-footer .text-b {
        display: flex;
        flex-direction: column;
    }

    footer .sub-footer .text-b .icon-s {
        display: none;
    }

    footer .sub-footer .text-b span:first-child {
        margin-bottom: 2px;
    }

    footer .sub-footer .box p {
        margin-bottom: 2px;
    }
}

