﻿footer {
    position: relative;
    width: 100%;
    height: auto;
    padding: 50px 100px;
    background-color: #ccc;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .container-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}

footer .container-footer .sec {
    margin-right: 30px;
}

footer .container-footer .sec.aboutus {
    width: 40%;
}

footer .container-footer .sec h2 {
    position: relative;
    color: #333;
    font-weight: 500;
    margin-bottom: 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

footer .container-footer .sec h2:before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #666;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

footer .container-footer .sec p {
    color: #666;
}

footer .container-footer .sec .social {
    margin-top: 20px;
    display: flex;
}

footer .container-footer .sec .social li {
    list-style: none;
}

footer .container-footer .sec .social li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    text-decoration: none;
    border-radius: 4px;
    color: #333;
    font-size: 20px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

footer .container-footer .sec .social li a:hover {
    background-color: #333;
    color: #999;
}

footer .container-footer .sec.quicklinks {
    position: relative;
    width: 25%;
}

footer .container-footer .sec.quicklinks .qlinks li {
    list-style: none;
    margin-bottom: 10px;
}

footer .container-footer .sec.quicklinks .qlinks li a {
    display: inline-block;
    color: #666;
    text-decoration: none;
}

footer .container-footer .sec.quicklinks .qlinks li a:hover {
    color: #111;
    text-decoration: underline;
}

footer .container-footer .sec.contact {
    width: calc(35% - 60px);
    margin-right: 0 !important;
}

footer .container-footer .sec.contact .cinfo {
    position: relative;
}

footer .container-footer .sec.contact .cinfo li {
    list-style: none;
    display: flex;
    margin-bottom: 16px;
}

footer .container-footer .sec.contact .cinfo li span {
    color: #666;
}

footer .container-footer .sec.contact .cinfo li span:nth-child(1) {
    color: #666;
    font-size: 20px;
    margin-right: 10px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

footer .container-footer .sec.contact .cinfo li span a {
    color: #666;
    text-decoration: none;
}

footer .container-footer .sec.contact .cinfo li span a:hover {
    color: #111;
    text-decoration: underline;
}

.copyrightText {
    width: 100%;
    background-color: #bbb;
    padding: 8px 100px;
    text-align: center;
    color: #666;
}

@media (max-width: 991px) {
    footer {
        padding: 40px !important;
    }

    footer .container-footer {
        flex-direction: column !important;
    }

    footer .container-footer .sec {
        margin-right: 0 !important;
        margin-bottom: 40px !important;
    }

    footer .container-footer .sec.aboutus {
        width: 100% !important;
    }

    footer .container-footer .sec.quicklinks {
        width: 100% !important;
    }

    footer .container-footer .sec.contact {
        width: 100% !important;
    }

    .copryrightText {
        padding: 8px 40px !important;
    }
}
