/* Block info strip so that the modal appears for mobile */
.info-strip.personalisation-modal-active {
    display: block;
}

/* Style info strip personalisation for desktop/mobile */
.promo-links p {
    padding: 0;
    margin: 0;
    color: #ffffff;
    cursor: pointer;
}

@media only screen and (max-width: 769px) {
    .mobile-info-strip .promo-links p {
        color: rgba(0, 0, 0, 0.87);
    }
}

/* Pop up modal styling */
/* The modal (background) */
.personalisation-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000 !important; /* Sit on top */
    padding-top: 15%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    width: 35%;
    z-index: 1001 !important;
    display: block;
}

/* The close button */
.personalisation-modal .icon-ui-close {
    color: #000000;
    float: right;
    font-size: 20px;
}

.personalisation-close-btn {
    text-align: center;
    margin: 0 auto 1em auto;
    clear: both;
    z-index: 1002 !important;
}

.icon-ui-close:hover,
.icon-ui-close:focus,
.personalisation-close-btn:hover,
.personalisation-close-btn:focus {
    cursor: pointer;
}

#terms-content {
    display: inline-block;
    width: 100%;
}

#terms-content p:first-of-type {
    font-weight: 500;
}

#terms-content p {
    text-align: center;
}

@media only screen and (max-width: 769px) {
    .personalisation-modal {
        padding-top: 0px; /* Location of the box */
    }
    .modal-content {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        overflow: scroll;
    }
    .personalisation-close-btn {
        margin-bottom: 4em;
    }
}