﻿.centered {
  text-align: center;
}

div.form-group.tandc-checkbox,
fieldset.form-group.has-feedback.payabill-form-group {
  margin-left: 0;
}

.warning-bg {
  background: #fcf2c1;
}

h4.top-header {
  margin-top: 0;
}

.paybill-subtitle {
    width: 744px;
    height: 80px;
    margin: 16px auto 24px auto;
    background: #ffffff;
    color: #425563;
    opacity: 1;
    font-family: 'Stag Web';
    font-weight: 300;
    font-size: 27px;
    line-height: 140%;
    letter-spacing: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 767px) {

    .paybill-subtitle {
        width: 100%;
        height: auto;
        font-size: 20px;
    }
}

/* =========================
   PAY BILL LOGIN HELP
   ========================= */

.paybill-login-help-container {
    width: 100%;
    margin: 12px auto 0 auto;
    opacity: 1;
}

.paybill-login-help {
    margin: 0;
    font-family: 'Stag Sans Web';
    font-weight: 300;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.paybill-login-help-link {
    font-family: 'Stag Sans Web';
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0;
    text-decoration-thickness: 0;
    text-decoration-skip-ink: auto;
}

/* =========================
   PAY BILL BANNER - DESKTOP
   ========================= */
.paybill-banner-outer {
    width: 1140px;
    height: 443px;
    padding-top: 50px;
    padding-bottom: 50px;
    opacity: 1;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 24px;
}

.paybill-banner-inner {
    display: flex;
    width: 1140px;
    height: 308px;
    opacity: 1;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* IMAGE */
.paybill-banner-image {
    flex: 40;
    display: flex;
    overflow: hidden;
}

    .paybill-banner-image img {
        width: 570px;
        height: 308px;
        object-fit: cover;
        display: block;
    }

/* =========================
   PAY BILL BANNER - TABLET
   (iPad portrait, iPad landscape, iPhone landscape)
   ========================= */
@media screen and (min-width: 768px) and (max-width: 1199px) {

    .paybill-banner-outer {
        width: 100%;
        left: auto;
        transform: none;
        margin: 0 auto 24px auto;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .paybill-banner-inner {
        width: 100%;
        height: auto;
        min-height: 220px;
    }

    .paybill-banner-image {
        max-width: 460px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

/* iPad landscape / small desktop */
@media screen and (min-width: 1024px) and (max-width: 1199px) {

    .paybill-banner-text-inner {
        padding-top: 60px;
    }
}

/* iPhone landscape */
@media screen and (min-width: 568px) and (max-width: 767px) and (orientation: landscape) {

    .paybill-banner-outer {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .paybill-banner-inner {
        flex-direction: row;
        height: 200px;
    }
}

/* =========================
   PAY BILL BANNER - MOBILE
   ========================= */
@media screen and (max-width: 767px) {

    .paybill-banner-outer {
        width: 100%;
        height: auto;
        max-width: 767px;
        opacity: 1;
        padding-top: 40px;
        padding-right: 15px;
        padding-bottom: 40px;
        padding-left: 15px;
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto 24px auto;
        box-sizing: border-box;
    }

    .paybill-banner-inner {
        flex-direction: column;
        width: 100%;
        height: auto;
        opacity: 1;
        min-height: unset;
        box-sizing: border-box;
    }

    .paybill-banner-image {
        width: 348px;
        height: 140px;
        margin: 0 auto;
    }

        .paybill-banner-image img {
            width: 100%;
            height: 140px !important;
            object-fit: cover;
            object-position: center;
            display: block;
        }
}
