.tofixborder {
    margin-left: -2rem;
    margin-right: -2rem;
    margin-top: -2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: solid 2rem #f0eef6;
}

.btn-unsubscribe {
    background-color: transparent;
    color: #3155a5;
    border: 2px solid #a6c0d5;
    box-shadow: 0 2px #a6c0d5;
}

    .btn-unsubscribe:hover {
        color: #000000;
        background-color: transparent;
        border-color: #a6c0d5;
        box-shadow: none;
    }

body {
    font-family: 'Roboto Flex', Arial, Helvetica, sans-serif;
}

.lead, .lead p {
    font-size: 1.25rem;
    color: #000;
}

.h1, h1 {
    font-size: 2.5rem;
}

.h2, h2 {
    font-size: 2rem;
}

footer {
    background-color: #d8dde0;
    border-top: 4px solid #005eb8;
}

    footer p {
        color: #4c6272 !important;
    }
/*LAYOUT*/

.s4l_wrapper {
    /* border: 4px solid #00abe9; */
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 2rem;
}

.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* .border_bot {
  border-bottom: 2px solid #7bd2f4;
} */

hr {
    width: 95.5%;
    margin: 0 auto;
    height: 2px;
    border-width: 0;
    color: #7bd2f4;
    background-color: #7bd2f4;
}

.pb {
    padding-bottom: 4rem;
}

/*NEW BRAND COLOURS*/
.acqua {
    background-color: #9AD8FA;
}

.acqua_20 {
    background-color: #e5f3f3;
}

.peach {
    background-color: #ea9481;
}

.peach_20 {
    background-color: #fbeae6;
}

.sage {
    background-color: #83c1a1;
}

.sage_20 {
    background-color: #e6f3ec;
}

.purple {
    background-color: #b5abd3;
}

.purple_20 {
    background-color: #f0eef6;
}

.white {
    background-color: #ffffff;
}

.orange {
    background-color: #ffca7c;
}

.orange_20 {
    background-color: #fff5e5;
}

.grape {
    background-color: #e2abcb;
}

.grape_20 {
    background-color: #f9eef5;
}

/*OLD BRAND COLOURS*/
/* .green {
  color: #007a39;
}
.blue {
  color: #1064b9;
}
.greenB {
  background-color: #29b154;
}
.blueB {
  background-color: #1064b9;
}
.blueBor {
  border: 2px solid #1064b9;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
} */

/* TYPOGRAPHY*/


h1,
h2,
h3,
h4,
h5,
h6,
.select_lbl,
.contact_lbl,
.modal-content a {
    font-family: 'din-condensed', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #000000;
}

p a {
    font-weight: 700;
}

a.signature {
    font-family: 'din-condensed', Arial, sans-serif !important;
    font-weight: 700 !important;
    color: #000000 !important;
    font-size: 1.7rem;
}

a {
    color: #005eb8;
}

    a:visited {
        color: #330072;
    }

    a:hover {
        color: #7c2855;
        text-decoration: none;
    }

    a:focus {
        background-color: #ffeb3b;
        box-shadow: 0 -2px #ffeb3b,0 4px #212b32;
        color: #212b32;
        outline: 4px solid transparent;
        text-decoration: none;
    }

        a:focus:hover {
            text-decoration: none;
        }

        a:focus:visited {
            color: #212b32;
        }

    a:active {
        color: #002f5c;
    }



.modal-content a.green {
    color: #29b154;
}

p {
    color: #1064b9;
}

h6,
.select_lbl {
    color: #000000;
}

/*ICONS*/
.circle {
    border-radius: 50%;
    border: 3px solid #007a39;
    width: 5rem;
    height: 5rem;
}

.plus {
    text-align: center;
    margin: 20% auto;
    font-size: 24px;
    line-height: 1.75;
    color: #007a39;
}

a.add {
    text-decoration: none;
}

button.goBack,
button.closeBtn,
button.unsubscribe {
    border: none;
    background-color: transparent;
}

a.underline,
button.goBack,
button.closeBtn,
button.unsubscribe {
    text-decoration: underline;
    font-size: 1.5rem;
    font-weight: 700;
}

    a.underline:hover,
    button.goBack {
        color: #737373;
    }

button.closeBtn {
    color: #29b154;
}

.fa-check-circle {
    color: #29b154;
}

.fa-exclamation-triangle,
button.unsubscribe {
    color: #ff0909;
}

/*FORM SECTION*/
.container.sub {
    margin-left: 0;
}

.form {
    background-color: #ffffff;
    margin: 20px;
    border-bottom: 4px solid #a8a6ac;
}

.baby_blocks {
    max-width: 270px;
    height: auto;
}

input,
select {
    margin-bottom: 1rem;
}

label,
h6 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    font-family: 'Roboto Flex', Arial, Helvetica, sans-serif;
}

.btn.s4l_green_btn {
    color: #3155a5;
    background-color: transparent;
    border: 2px solid #a6c0d5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 0 2px #a6c0d5;
    /* Prevent background color leak outs */
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.s4l_green_btn:hover,
.s4l_green_btn:focus,
.s4l_green_btn:active,
.s4l_green_btn.active,
.open > .dropdown-toggle.s4l_green_btn {
    color: #000000;
    background-color: transparent;
    border-color: #a6c0d5;
    box-shadow: none;
}

#s4l_checkbox {
    border-color: #0075ff;
}

/* MODALS */
.modal-header {
    border: none;
}

.modal-body span {
    font-family: 'Roboto Flex', Arial, Helvetica, sans-serif;
    color: #737373;
    text-decoration: none;
    font-size: 1.5rem;
}
/*IMAGES*/

.s4l_logo {
    width: 100%;
    max-width: 120px;
}

.nhs_logo {
    width: 100%;
    max-width: 80px;
}

.baby_blocks {
    width: 90%;
    height: auto;
}

#ConfrimMessage {
    display: none;
}

.goBack.closeBtn {
    margin-left: auto;
    margin-right: auto;
}

/* BREAKPOINT Adjustments */

/* Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) {
    .h1, h1 {
        font-size: 1.5rem;
    }

    .lead, .lead p {
        font-size: 18px;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    br {
        display: none;
    }

    #prefs.modal-body,
    #thanks.modal-body {
        flex-direction: row;
        display: flex;
        justify-content: space-around;
    }

        #prefs.modal-body span,
        #thanks.modal-body span {
            align-self: center;
        }

    .s4l_logo {
        width: 100%;
        max-width: 120px;
        height: auto;
    }

    .nhs_logo {
        width: 100%;
        max-width: 80px;
        height: auto;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
}

@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 680px;
    }
}
