.uhb-o-grid {
    position: relative;
}

.uhb-u-overflow-hidden {
    overflow: hidden;
}

.uhb-c-card--grey {
    background-color: #e8edee;
}

.uhb-u-transparent-black {
    background-color: rgba(0,0,0,0.7);
}

.uhb-u-color-orange {
    color: #ed8b00;
}

.uhb-c-button--centered {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.uhb-c-header__navigation-item--highlight {
    margin-top: 16px;
}

.uhb-c-header__navigation-link--highlight, .uhb-c-header__navigation-link--highlight:visited {
    background-color: #da291c;
    color: #fff;
    transition: 0.3s ease-out;
}

    .uhb-c-header__navigation-link--highlight:active {
        background-color: #8a1538;
        color: #fff;
    }

.uhb-c-block-quote.uhb-u-background-white:after {
    border-color: #fff transparent transparent transparent;
}

/* TEMP FIX */
input[type="hidden"] + .uhb-c-form-group, input[type="hidden"] + .umbraco-forms-field {
    margin-top: 32px;
}

form > *.uhb-c-form-group:first-of-type, form > *.umbraco-forms-field:first-of-type {
    margin-top: 0 !important;
}

/* 
$$$$$$$$$$$$$$$$$$$$ BREAKPOINT: MEDIUM $$$$$$$$$$$$$$$$$$$$ 
*/

@media (min-width: 752px) {

    .uhb-c-header__navigation-item--highlight {
        margin-top: 24px;
    }

    /* TEMP FIX */
    input[type="hidden"] + .uhb-c-form-group, input[type="hidden"] + .umbraco-forms-field {
        margin-top: 40px;
    }
}

/* 
$$$$$$$$$$$$$$$$$$$$ BREAKPOINT: EXTRA-LARGE $$$$$$$$$$$$$$$$$$$$ 
*/

@media (min-width: 1248px) {

    .uhb-u-padding-top-impact {
        padding-top: 96px;
    }

    .uhb-u-padding-bottom-impact {
        padding-bottom: 96px;
    }

    .uhb-c-header__navigation-item--highlight {
        margin-top: 0;
    }

    /* TEMP FIX */
    input[type="hidden"] + .uhb-c-form-group, input[type="hidden"] + .umbraco-forms-field {
        margin-top: 48px;
    }
}

/*
    POPUP STYLES
*/

.uhb-c-popup__wrapper {
    background: rgba(35,31,32,0.66);
    content: "";
    height: 100%;
    left: 0;
    margin-top: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 99;
}

.uhb-c-popup {
    border-bottom: 4px solid #fae100;
    border-bottom-color: #fae100;
    box-shadow: 0 3px 4px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    left: 32px;
    margin-top: 0;
    position: fixed;
    right: 32px;
    top: 36px;
    z-index: 100;
}

.uhb-c-popup-hide {
    display: none;
}

.uhb-c-popup__button {
    background-color: #fae100;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 40px;
    margin-top: 0;
    padding: 10px;
    position: absolute;
    right: -16px;
    text-decoration: none;
    top: -20px;
    width: 40px;
    z-index: 101;
}

    .uhb-c-popup__button::before {
        border-radius: 50%;
        box-shadow: 0 3px 4px rgba(0,0,0,0.4);
        content: "";
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 101;
    }

    .uhb-c-popup__button img {
        vertical-align: top;
        z-index: 101;
    }

.uhb-c-popup__icon {
    display: block;
    height: 48px;
    margin: 0 auto;
    width: 56px;
    z-index: 100;
}

.uhb-c-popup__header {
    background-color: #da291c;
    background-image: url(https://www.uhb.nhs.uk/images/thumbnails/thumb-emergency-department-ambulances.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 16px;
    position: relative;
    z-index: 100;
}

    .uhb-c-popup__header h2 {
        color: #ffffff;
        margin-top: 16px;
        z-index: 100;
    }

.uhb-c-popup__content {
    background-color: #ffffff;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 16px;
    z-index: 100;
}

.uhb-c-popup__footer {
    background-color: #ffffff;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    position: relative;
    z-index: 100;
}

.uhb-c-popup__footer-wrapper {
    margin: 0 auto;
    max-width: 183px;
}

.uhb-c-popup__button-split {
    max-width: 183px;
    width: 100%;
}

/* 
$$$$$$$$$$$$$$$$$$$$ BREAKPOINT: EXTRA SMALL $$$$$$$$$$$$$$$$$$$$ 
*/

@media screen and (min-width: 375px) {

    .uhb-c-popup__footer-wrapper {
        max-width: 268px;
    }

    .uhb-c-popup__button-split {
        text-align: center;
        max-width: 126px;
    }

        .uhb-c-popup__button-split:first-of-type {
            margin-right: 8px;
        }

        .uhb-c-popup__button-split:last-of-type {
            margin-left: 8px;
        }
}

/* 
$$$$$$$$$$$$$$$$$$$$ BREAKPOINT: SMALL $$$$$$$$$$$$$$$$$$$$ 
*/

@media screen and (min-width: 600px) {

    .uhb-c-popup__footer-wrapper {
        max-width: 382px;
    }

    .uhb-c-popup__button-split {
        max-width: 183px;
    }
}

/* 
$$$$$$$$$$$$$$$$$$$$ BREAKPOINT: MEDIUM $$$$$$$$$$$$$$$$$$$$ 
*/

@media (min-width: 752px) {

    .uhb-c-header__navigation-item--highlight {
        margin-top: 24px;
    }

    /* TEMP FIX */
    input[type="hidden"] + .uhb-c-form-group {
        margin-top: 40px;
    }

    .uhb-c-popup {
        left: 48px;
        right: 48px;
        max-width: 804px;
        margin: 0 auto;
        top: 52px;
    }

    .uhb-c-popup__button {
        height: 48px;
        padding: 12px;
        right: -24px;
        top: -28px;
        width: 48px;
    }

    .uhb-c-popup__icon {
        height: 82px;
        width: 96px;
    }

    .uhb-c-popup__header {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 24px;
    }

        .uhb-c-popup__header h2 {
            margin-top: 24px;
        }

    .uhb-c-popup__content {
        padding-left: 24px;
        padding-right: 24px;
        padding-top: 24px;
    }

    .uhb-c-popup__footer {
        padding-bottom: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .uhb-c-popup__footer-wrapper {
        max-width: 488px;
    }

    .uhb-c-popup__button-split {
        max-width: 232px;
    }

        .uhb-c-popup__button-split:first-of-type {
            margin-right: 12px;
        }

        .uhb-c-popup__button-split:last-of-type {
            margin-left: 12px;
        }
}

/* 
$$$$$$$$$$$$$$$$$$$$ BREAKPOINT: EXTRA LARGE $$$$$$$$$$$$$$$$$$$$ 
*/

@media screen and (min-width: 1200px) {

    .uhb-c-popup {
        left: 0;
        right: 0;
        top: 52px;
    }

    .uhb-c-popup__header {
        padding-left: 32px;
        padding-right: 32px;
        padding-top: 32px;
    }

        .uhb-c-popup__header h2 {
            margin-bottom: 32px;
            margin-top: 32px;
        }

    .uhb-c-popup__content {
        padding-left: 32px;
        padding-right: 32px;
        padding-top: 32px;
    }

    .uhb-c-popup__footer {
        padding-bottom: 32px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .uhb-c-popup__footer-wrapper {
        max-width: 496px;
    }

    .uhb-c-popup__button-split {
        margin-top: 32px;
        max-width: 232px;
    }

        .uhb-c-popup__button-split:first-of-type {
            margin-right: 16px;
        }

        .uhb-c-popup__button-split:last-of-type {
            margin-left: 16px;
        }
}

/* 
$$$$$$$$$$$$$$$$$$$$ BREAKPOINT: XXL $$$$$$$$$$$$$$$$$$$$ 
*/

@media (min-width: 1248px) {

    .uhb-u-padding-top-impact {
        padding-top: 96px;
    }

    .uhb-u-padding-bottom-impact {
        padding-bottom: 96px;
    }

    .uhb-c-header__navigation-item--highlight {
        margin-top: 0;
    }

    /* TEMP FIX */
    input[type="hidden"] + .uhb-c-form-group {
        margin-top: 48px;
    }

    .uhb-c-popup__footer-wrapper {
        max-width: 528px;
    }

    .uhb-c-popup__button-split {
        max-width: 248px;
    }
}