/* ------------------------------------------------------------------
   footer-contacts.css
   The "Act Now" contact panel + the two Business Banking Centre cards
   that sit directly above the footer.

   Rules copied from the main site's css/custom.css, plus the font-size
   the using page uses, so all three pages render this block identically.

   Font-size note: the using page shows this block at 14px base
   (paragraphs at 90% = 12.6px). The main site's body is 18px, which would
   make the paragraphs 16.2px, so the base is pinned to 14px here.
   ------------------------------------------------------------------ */

/* footer */
h2.title-h4 {
    font-size: 16px;
    font-weight: 700;
}

.footer-contacts {
    display: flow-root;
    margin-bottom: 10px;
    font-size: 14px;
}

.smeActNow {
    float: left;
    padding: 0 15px;
    margin-bottom: 20px;
}

.actnowBox img {
    width: 100%;
    height: auto;
}

.actnowBox .details {
    padding: 12px 15px;
    background: #5b5b5b;
    color: #ffffff;
    min-height: 60px;
}

.actnowBox .details a {
    color: #ffffff;
}

/* the sub pages' stock Bootstrap 3.4.1 renders <strong> at 500; the main
   site (customised Bootstrap) uses the normal 700 */
.footer-contacts strong {
    font-weight: 700;
}

.contact-info-container {
    float: left;
}

.column20 {
    float: left;
    width: 50%;
}

.sme-contact .contact-info {
    border: 1px solid #dddddd;
    padding: 30px 10px;
}

.sme-contact .contact-info p {
    font-size: 90%;
}

.sme-contact .address {
    position: relative;
    text-decoration: underline;
}

.sme-contact .address img {
    position: absolute;
    right: -20px;
    bottom: 0px;
}

.sme-contact .red {
    color: #e02826;
}

.sme-contact .address.firstRow {
    display: block;
    margin-bottom: -18px;
}

.sme-contact .address a {
    margin-left: 6px;
}

.sme-contact .address img {
    position: static;
}

.sme-contact .cs10 {
    padding: 0px 10px 20px 10px
}

@media (max-width: 767px) {
    .smeActNow {
        width: 100%;
        max-width: 200px;
    }

    .contact-info-container {
        width: 100%;
    }

    .column20 {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .smeActNow {
        width: 100%;
        max-width: 200px;
    }

    .contact-info-container {
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .smeActNow {
        width: 25%;
    }

    .contact-info-container {
        width: 75%;
    }
}

@media (min-width: 1200px) {
    .smeActNow {
        width: 20%;
    }

    .contact-info-container {
        width: 80%;
    }
}
