

:root {
    --white: #fff;
    --red: #D43553;
    --yellow: #FFB283;
    --navy: #103167;
    --pink: #F1C2CC;
    --footerGrey: #ECECED;
    --textGrey: #595B60;
    --bgGrey: #B4B2C8;
    --verticalGutterWidth: 40px;
}

@media (max-width: 500px) {
    :root {
        --verticalGutterWidth: 10px;
    }
}

html {
    font-size: 14px;
    margin: 0;
    padding: 0;
}

body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    color: var(--textGrey);
    font-weight: 300;
}

p, ol li {
    font-size: 1.15rem;
    line-height: 1.5;
}

body {
    font-family: 'itc-avant-garde-gothic-pro', sans-serif; 
    line-height: 1.3;
    font-size: 1rem;
    color: var(--textGrey);
    background-color: var(--white);
    min-width: 280px;
}

sup {
    line-height: 0;
}

h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.1;
}

h2 {
    font-size: 1.7rem;
    color: var(--white);
    line-height: 1.2;
    font-weight: bold;

}

/* password page */


.password-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    background: var(--red);
    flex-direction: column;
    padding: 20px 0 20px 0;
}

.password-blue {
    background: var(--navy);
    height: 50vh;
    width: 100vw;;
}

#password-form {
    text-align: center;
    background: var(--pink);
    padding: 5px 20px 20px 20px;
    border-radius: 12px;
}

#password-form h3 {
    color: var(--red);
}

#password-form input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid var(--red);
}


/* password page disclaimer */

#additional-monitoring-disclaimer {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 10vh; */
    width: 100%;
    background: var(--red)  ;
    margin-top: 20px;
}

#additional-monitoring-disclaimer-text {
    border: var(--yellow) 6px solid;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px var(--verticalGutterWidth) 20px var(--verticalGutterWidth);
    color: var(--white);
    text-align: left;
    
    background: #ffffff;
}

#additional-monitoring-disclaimer-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: black;
}





/* password page end */

#top-disclaimer, #small-footer {
    padding: 20px var(--verticalGutterWidth) 20px var(--verticalGutterWidth);
    background: var(--white);
    text-align: center;
}

#small-footer{
    text-align: left;
    position: sticky;
    bottom: 0;
}

header {
    background: var(--red);
    color: var(--white);
    padding: 40px var(--verticalGutterWidth) 100px var(--verticalGutterWidth);
    text-align: center;
}

header p {
    color: var(--white);
    font-size: 1.2rem;
}

header p:first-of-type {
    font-size: 1.35rem;
    font-weight: 500;
}

#hero-text {
    width: 58%;
    max-width: 800px;
    margin: 0 auto;
}

#logo-line {
    padding: 0 0 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo-line img:first-of-type {
    width: 150px;
}

#logo-line img:last-of-type {
    width: 110px;
}

#intro {
    padding: 90px var(--verticalGutterWidth) 90px var(--verticalGutterWidth);
    background: var(--navy);
    display: flex;
    justify-content: center;
    gap: 120px;
    align-items: flex-start;
}
@media (max-width: 768px) {
    #intro {
        flex-direction: column;
        gap: 40px;
    }
    #hero-text {
        width: 95%;
    }
}

#intro img {
    width: 50px;
    height: 46px;
}

#intro p, h2 {
    color: var(--white);
}


.intro-col {
    flex: 1;
    max-width: 420px;
}
@media (max-width: 768px) {
    .intro-col {
        max-width: 100%;
    }

}


#main {
    padding: 90px var(--verticalGutterWidth) 90px var(--verticalGutterWidth);
    padding-bottom: 0;
    overflow: hidden;
}

.journey-line {
    width: 100%;
    margin-bottom: -5px;
    max-width: 1300px;
    overflow: hidden;
}

.journey-1 {
    margin-top: 60px;
}
.journey-1:last-of-type {
    margin-top: 0px;
}
.journey-3 {
    margin-bottom: -23px;
}

.journey-3-mob {
    opacity: 0;
    height: 0;
}

@media (max-width: 768px) {
    .journey-line {
        width: 180%;
        margin-left: -100%;
        margin-right: -100%;
        overflow: hidden;
    }
    .journey-3 {
        display: none;
        height: 0;
    }
    .journey-3-mob {
        opacity: 1;
        height: auto;
    }
    .info-box-title {
        background-position: top center !important;
        min-height: 155px !important;
        margin-left: 0 !important;
        align-self: center !important;
        padding: 0 !important;
        margin-bottom: -20px;
    }
}


.info-box {
    padding: 30px 26px 30px 26px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border-radius: 16px;
    max-width: 1200px;
    height: 100%;
    z-index: 5;
}
.info-box:nth-of-type(2) {
    max-width: 400px;
}

.info-box:nth-of-type(3) {
    max-width: 870px;
}

.info-box:nth-of-type(4) {
    max-width: 740px;
}

.info-box:nth-of-type(5) {
    max-width: 800px;
}

.info-box-title {
    background-image: url(./images/icon-virus-red.svg);
    background-size: 40px;
    min-height: 40px;
    background-repeat: no-repeat;
    background-position: left top;
    padding: 0 60px 5px 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 15px;
    align-self: flex-start;
}

.info-box-title h2 {
    font-size: 2.2rem;
}

@media (max-width: 1010px) {
    .info-box-title {
        padding: 0 0 5px 60px;
        margin-left: -60px;
        align-self: auto;
    }
}

@media (max-width: 500px) {
    .info-box-title {
        background-position: top center;
        min-height: 155px;
        margin-left: 0;
        align-self: center;
        padding: 0;
        margin-bottom: -20px;
    }

    .header-pad{
        padding: 20px 0 0 0;
    }
}

.info-box-2 > .info-box-title {
    background-image: url(./images/icon-treatment-blue.svg);
    background-size: 35px;
}

.info-box-3 > .info-box-title {
    background-image: url(./images/icon-syringe-red.svg);
    background-size: 37px;
}

.info-box-4 > .info-box-title {
    background-image: url(./images/icon-time-blue.svg);
    background-size: 37px;
}

.info-box-5 > .info-box-title {
    background-image: url(./images/icon-heart-red.svg);
    background-size: 46px;
    
}

.info-box-5 {
    border-radius: 16px 16px 0px 0px;
}

.info-box-6 {
    background-size: 46px;
    border-radius: 0px 0px 16px 16px;
    background-color: #F8DFE4 !important;
    max-width: 800px;
    padding: 40px 26px 40px 26px;
}

.info-box-content-row {
    padding: 0 30px 0 30px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    gap: 62px;
}
@media (max-width: 768px) {
    .info-box-content-row {
        flex-direction: column;
        gap: 40px;

    }
}

@media (max-width: 500px) {
    .info-box-content-row {
        padding: 0;
        align-items: center;
    }
}


.info-box-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    flex-grow: 1;
    max-width: 280px;
}

@media (max-width: 500px) {
    .info-box-content {
        max-width: 100%;
        text-align: center;
    }
    .box-bullets {
        text-align: left;
        margin-left: 10px;
    }
}

.double-top {
    max-width: 680px;
}

.box-bullets p::before { /* add the new bullet point */
        display: inline-block;
          content: '';
          -webkit-border-radius: 0.375rem;
          border-radius: 0.375rem;
          height: 8px;
          width: 8px;
          margin: 0 15px 0 -23px;
          background-color: var(--red)
      }


.long {
    max-width: 400px !important;
    /* flex-grow: 3 !important; */
}

.cta-btn {
    text-decoration: none;
    background-color: transparent; 
    -webkit-text-decoration-skip: objects; 
    color: var(--white);
    line-height: 1.2;
    font-weight: bold;
    padding: 12px 12px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-size: 1.3rem;
    gap: 2rem;
    /* margin: 0 auto 0 0; */
    /* width: 80%; */

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-btn-text {
    width: 100%;
}

.cta-btn svg {
    width: 0.75rem;
    height: auto;
    /* height: 1.25rem; */
}

@media (max-width: 500px) {
    .cta-btn {
        align-self: center;
        width: 70vw !important;
        text-align: center;
    }
}

.reds {
    background: var(--pink);
}
.reds h2 {
    color: var(--red);
}
.reds > .info-box-content-row > .info-box-content > .cta-btn {
    background: var(--red);
}
.blues {
    background: var(--bgGrey);
}
.blues h2 {
    color: var(--navy);
}
.blues > .info-box-content-row > .info-box-content > .cta-btn {
    background: var(--navy);
}


section {
    text-align: center;
}

footer {
    background: var(--footerGrey);
    display: flex;
    align-items:center;
    justify-content: space-evenly;
    gap: 100px;
    padding: 20px var(--verticalGutterWidth) 20px var(--verticalGutterWidth);
    flex-direction: column;
}

.footer-col-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 100px;
    flex-direction: row;
    padding-top: 50px;
}
@media (max-width: 1000px) {
    .footer-col-top {
        flex-direction: column;
        gap: 40px;
    }
}

.footer-col-child {
    flex: 1;
    max-width: 700px;
}
@media (max-width: 1000px) {
    .footer-col-child {
        max-width: 93vw;
    }
}

.footer-col-child ol {
    margin-left: -15px;
}

.footer-col-child ol li {
    margin-top: 10px;
    margin-bottom: 10px;
} 

.footer-col-child:last-of-type {
    word-wrap: none !important;
}

.footer-col-bottom {
    border-top: var(--bgGrey) 1px solid;
    width: 100%;
    max-width: 1500px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 100px;
    flex-direction: row;
    padding: 50px 0px 50px 0px;
    margin-left: 50px;
    margin-right: 50px;
}

@media (max-width: 1000px) {
    .footer-col-bottom {
        flex-direction: column;
        gap: 40px;
    }
}


.footer-col-child .external-link {
    word-break: break-word;
}

.external-link {
    color: var(--navy) !important;
    text-decoration: underline;
    cursor: pointer;
    word-break: break-all;
}
/* Popup */

body[popup-open="true"] {
    overflow: hidden;
}

.popup {
    /* display: none; */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.popup-content {
    background: var(--red);
    margin: 15% auto;
    width: 80%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.popup#terms-of-use-pop {
    display: grid;
    place-content: center;
}

.popup#terms-of-use-pop .popup-content {
    background: none;
    box-sizing: border-box;
    max-width: 60%;
    position: relative;
    text-align: left;
    margin: auto;
    height: max-content;
    max-height: 80%;
    color: var(--textGrey);
}

.popup#terms-of-use-pop .popup-content h2 {
    text-align: left;
    /* margin-bottom: 1rem; */
    width: 100%;
    background-color: var(--navy);
    padding: 1rem;
    box-sizing: border-box;
    color: white;
    border-radius: 1rem 1rem 0 0;
    position: relative;
}

.popup#terms-of-use-pop .popup-content p.popup-body {
    overflow-y: scroll;
    padding: 1rem 2rem 1rem 1rem;
    box-sizing: border-box;
    background-color: var(--red);
    line-height: 1.5;
    border-radius: 0 0 1rem 1rem;
    color: white;
}

#close-popup-icon svg {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    cursor: pointer;
    width: 3rem;
    height: auto;
    color: white;
}

@media screen and (max-width: 768px){
    .popup#terms-of-use-pop .popup-content {
        width: calc(100% - 5rem);
        max-width: unset;
        max-height: calc(100% - 5rem);
    }
}

.popup-content p, h2 {
    color: var(--white);
}

.popup-content h2 {
    line-height: 2.3rem;
}

.pop-top {
    padding: 20px 60px 10px 60px;
    background: var(--red);
    width: 100%;
    height: 50%;
    min-height: 250px;
}

.pop-top p {
    margin: 0 auto;
    width: 90%;
}

#select-warning {
    color: var(--white) !important;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    opacity: 0;
}

.pop-bottom {
    padding: 30px 60px 30px 60px;
    background: var(--navy);
    width: 100%;
    min-height: 250px;
    text-align: left;
}

.pop-buttons {
    margin-top: 0px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 20px;
}

#pop-uk, #pop-ireland, #country-question-title {
    opacity: 0.3;
    cursor: default;
}

#pop-ireland {
    background: var(--white) !important;
}

@media (max-width: 500px) {
    .pop-buttons {
        flex-direction: column;
    }
}

.pop-btn {
    background-color: var(--white);
    color: var(--navy);
    padding: 20px 40px 20px 40px;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
}
@media (max-width: 500px) {
    .pop-btn {
        padding: 20px 20px 20px 20px;
    }
}

.pop-btn:last-of-type {
    background-color: var(--pink);
}

.pop-buttons.more-txt {
    padding: 15px 15px 15px 15px;
    /* max-width: 220px; */
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.pop-buttons.more-txt .pop-btn {
    flex: 1 1 calc(50% - 10px);
}

#svg-triangle {
    float: left;
    margin-right: 5px;
    margin-top: 2px;
    transform: rotate(180deg);
}

.pop-bottom .external-link {
    color: var(--white) !important;
    text-decoration: underline;
}