footer {
  background-image: url("../images/trang-chu/bg-footer.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-weight: 300;
}

footer .container {
    padding: 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--white);
}

footer .box {
    flex-basis: 32%;
}

footer .box-page {
	flex-basis: 50%;
}

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(--white);
}

footer .box .item a {
    text-transform: capitalize;
    color: var(--white);
    display: inline-grid;
    
}

footer .box .item a:hover {
    color: var(--red);
}

footer .sub-footer {
    text-align: center;
    padding: 10px 0;
    background: var(--black);
    border-top: 2px solid var(--white);
}

footer .sub-footer .box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

footer .sub-footer .box .icon {
    margin: 0 4px;
}

footer .sub-footer a {
    font-weight: bold;
    color: var(--white);
}

footer .sub-footer a:hover {
    color: var(--red);
}

@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;
    }
}

@media only screen and (max-width: 576px) {
    footer .container {
        padding: 15px 10px;
    }
    .fix-map iframe
    
    {
        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;
    }
}

