/* Debug */

/*
body:active div, body:active span {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid black;
}*/
/*
div, span {
    background-color: rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
}*/

/* Global Styles */

@import url(fonts/graphik/stylesheet.css);
@import url(fonts/produkt/stylesheet.css);

@font-face {
    font-family: FSAlbert;
    src: url(../css/fonts/FSAlbert-Light.eot);
    src: url(../css/fonts/FSAlbert-Light.eot) format("embedded-opentype"),url(../css/fonts/FSAlbert-Light.woff) format("woff"),url(../css/fonts/FSAlbert-Light.ttf) format("truetype"),url(../css/fonts/FSAlbert-Light.svg) format("svg");
}

@font-face {
    font-family: FSAlbertBold;
    src: url(../css/fonts/FSAlbert-Bold.eot);
    src: url(../css/fonts/FSAlbert-Bold.eot) format("embedded-opentype"),url(../css/fonts/FSAlbert-Bold.woff) format("woff"),url(../css/fonts/FSAlbert-Bold.ttf) format("truetype"),url(../css/fonts/FSAlbert-Bold.svg) format("svg");
}

@font-face {
    font-family: FSAlbertRegular;
    src: url(../css/fonts/FSAlbert-Regular.eot);
    src: url(../css/fonts/FSAlbert-Regular.eot) format("embedded-opentype"),url(../css/fonts/FSAlbert-Regular.woff) format("woff"),url(../css/fonts/FSAlbert-Regular.ttf) format("truetype"),url(../css/fonts/FSAlbert-Regular.svg) format("svg");
}


.graphik-regular {
  font-family: Graphik-Regular, Graphik, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: "FSAlbertRegular", Arial, Helvetica, sans-serif;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

hr {
    border: none;
    background-color: #ccc;
    color: #ccc;
    height: 1px;
}

p {
    line-height: 24px;
}

.broker-page {
  font-family: Graphik-Regular, Graphik, sans-serif;
}

.skip-to-content a {
  position: absolute;
  margin-top: -999px
}

    .skip-to-content a:focus {
        margin: 0;
        background: #0096f2;
        color: #000;
        display: block;
        width: 100%;
        padding: 10px 15px;
    }

header {
    padding: 40px 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.login {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.topmenu-link:active,
.topmenu-link:focus {
  background: none;
  box-shadow: none;
  outline: 2px solid black;
  border-radius: 2px;
}

.topmenu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.topmenu-left {
  display: flex;
  align-items: center;
}

.banner-logo {
  height: 48px;
}

.topmenu-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.topmenu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.topmenu-link {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  gap: 6px;
  padding: 2px 0;
}

.icon-left {
  height: 20px;
  width: 20px;
  display: inline-block;
}

  .topmenu-link:hover {
    text-decoration: underline;
  }

.container.card-information {
    display: -ms-grid;
    display: grid;
    grid-template-areas: "TopLeft TopMiddle TopRight" "BottomLeft BottomMiddle BottomRight";
    grid-template-columns: 50% auto 15%;
    grid-template-rows: auto;
    -ms-grid-columns: 50% auto 15%;
    -ms-grid-rows: 100%;
}

.container.top-links .backLink {
    display: none;
}

.container.bottom-links {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 20px;
}

.container.radioButtons {
    display: flex;
}

#main-content {
    padding: 0px 20px 40px 20px;
}

.warning.box {
    border: 2px solid #c31b1b;
    border-radius: 5px;
    font-weight: normal;
    font-size: 0.9em;
    color: #5d0c0c;
    text-align: left;
    margin-top: 0px;
    padding: 10px 20px;
}

#need-advice {
    background-color: #f3f8e4;
    padding: 30px 20px;
    display: flex;
    align-items: center;
}

    #need-advice .field {
        margin-bottom: 0;
    }

.wealth-warning {
    border: 2px solid #005488;
    border-radius: 5px;
    font-weight: normal;
    text-align: center;
    margin-top: 50px;
    padding: 0 20px;
}

.content {
    flex: 1 0 auto;
}

.top-content {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.logo {
    width: 170px;
    grid-area: TopLeft;
    -ms-grid-column: 1;
    -ms-grid-row: 1;
    height: 74px;
}

    .logo.login {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

label {
    display: block;
    margin-bottom: 10px;
}

.find-your-client-button {
  width: 200px;
  height: 40px;
  padding: 6px 32px 9px 32px;
  gap: 8px;
  background-color: #1574E0;
  border: 1px solid #165788;
  font-size: 16px;
  line-height: 18px;
  font-family: Graphik;
}

.input-label {
    font-weight: bold;
}

.view-mortgage-details-button {
    width: 240px;
    height: 40px;
    padding: 9px 32px 9px 32px;
    gap: 8px;
    font-size: 16px;
    line-height: 22px;
}

.search-continue-button {
  height: 40px;
  padding: 9px 32px 9px 32px !important;
  background-color: #1574E0 !important;
  font-size: 16px;
  line-height: 22px;
}

input {
  padding: 12px 10px;
  margin: 5px 5px 10px 0;
  width: auto;
  filter: none;
  background: #fff;
  border: 2px solid #000000;
  font-size: initial;
}

h1 {
    margin: 0 0 20px 0;
    font-size: 2.22em;
    color: #7b9e03;
}

h2 {
    color: #005488;
    margin: 40px 0 20px;
    font-size: 1.667em;
}

h3 {
    margin: 0 0 20px 0;
    font-size: 1.38em;
}

h4 {
    margin: 0 0 20px 0;
    font-size: 1.25em;
    color: #005488;
}

a {
    color: black;
    text-decoration: none;
}

    a:focus {
        outline: 3px solid transparent;
        background-color: #0096f2;
        -webkit-box-shadow: 0 -2px #0096f2, 0 4px #0b0c0c;
    }

  button,
  a.button {
    padding: 15px;
    background: #005488;
    color: #fff;
    border: 0;
    font-size: 16px;
    line-height: 25px;
    border-radius: 5px;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
  }

        button:hover,
        button:focus,
        a.button:hover,
        a.button:focus {
            background: #044A75;
        }

        button:focus,
        .validation-summary-errors:focus,
        a.button:focus {
            outline: 3px solid #0096f2;
            box-shadow: inset 0 0 0 3px #fff;
            -webkit-box-shadow: inset 0 0 0 3px #fff;
        }

        button.login,
        a.button.login {
            width: 100%;
        }


        button.logout {
            background: #fff;
            border: 2px solid #005488;
            color: #005488;
            -ms-grid-column: 3;
            -ms-grid-row: 1;
            grid-area: TopRight;
            width: 95px;
            padding: 5px 0;
            align-self: end;
            justify-self: end;
            -ms-grid-column-align: end;
            -ms-grid-row-align: end;
        }

            button.logout:hover,
            button.logout:focus {
                background-color: #F0F7FB;
            }

        button.button-small,
        a.button.button-small {
            font-size: small;
            font-weight: normal;
            padding: 10px;
            width: 70%;
            line-height: initial;
        }

        button.customerAgreement {
            width: 100%;
        }

        .bottom-links a.backLink,
        button.switchDeals {
            margin: 20px 0;
            display: flex;
            flex-direction: column-reverse;
        }

.card-details {
    grid-area: BottomLeft;
    display: -ms-grid;
    display: grid;
    align-items: center;
    align-content: end;
    margin-top: 20px;
    font-size: 20px;
    -ms-grid-row-align: end;
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-column-start: BottomLeft;
    grid-column-end: BottomRight;
}

.confirmation-content {
    padding-top: 15px;
}

  .confirmation-content p:first-child {
      padding-bottom: 20px;
  }

.return-to-case-management {
  background-color: #1574E0;
  border: 1px solid #165788;
  width: 279px;
  height: 40px;
  border-radius: 8px;
  text-align: center;
  line-height: 34px;
  font-size: 16px;
  margin-top: 80px;
}

  .return-to-case-management a {
    color: white;
  }

.svg-link {
  text-decoration: underline;
  color: LinkText;
}

.network-field {
    border: 0;
    pointer-events: none;
}

.broker-link {
  padding: 15px;
  background: #fff;
  color: #005488;
  border: 2px solid;
  border-color: #005488;
  font-size: 16px;
  line-height: 25px;
  border-radius: 5px;
  font-size: 18px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

    .broker-link:hover,
    .broker-link:focus {
        background-color: #F0F7FB;        
    }
    
    .broker-link:focus {        
        outline: 3px solid #0096f2;
        box-shadow: inset 0 0 0 3px #F0F7FB;
        -webkit-box-shadow: inset 0 0 0 3px #F0F7FB;
    }

.broker-fee-input {
    width: 336px;
    height: 39px;
    border: black 1px solid;
}

.mortgage-club-input {
  width: 336px;
  height: 39px;
  border: 1px solid #505A5F;
  font-family: Graphik-Regular, Graphik, sans-serif;
  font-size: 16px;
  padding: 0 10px;
}

.holderName {
    font-weight: bold;
    -ms-grid-column: 1;
    -ms-grid-row: 1;
}

.accountNumber {
    -ms-grid-column: 1;
    -ms-grid-row: 2;
}

.reference-number {
    width: 100%;
}

.search-again {
    font-size: 16px;
    margin-right: 40px;
}

.broker-reference-number {
    width: 336px;
    height: 39px;
    border: 1px solid #505A5F;
}

.bottom-links .field {
  margin: 0;
}

.center {
    text-align: center;
}

.error {
    border: 3px solid #d4351c;
}

input:focus {
    outline: 3px solid #0096f2;
    outline-offset: 0;
    -webkit-box-shadow: inset 0 0 0 2px;
    box-shadow: inset 0 0 0 2px;
}

    input:focus::placeholder {
        color: transparent;
    }

li {
    margin: 20px 0;
    line-height: 27px;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.broker-date-of-birth {
    width: 350px;
    margin-bottom: 100px;
}

legend {
  padding: 0;
}

.field-label,
.radio-label {
    display: block;
    font-weight: 700;
    line-height: 25px;
}

.broker-field-label {
     display: block;
     color: #000;
     padding: 0;
     line-height: 100%;
     font-size: 16px;
     font-weight: 500;
     height: 19px;
     margin: 0 0 10px 0;
}

.broker-sub-heading {
    color: #165788;
    font-weight: 400;
    font-size: 22px;
}

.important-text {
    font-weight: 500;
}

.radio-label {
    font-weight: normal;
    margin-bottom: 20px;
}

.field-radio-button {
    margin: 0 10px 20px 10px;
    width: auto;
    position: relative;
    padding-top: 12px;
    display: flex;
}

    .field-radio-button input {
        opacity: 0;
        margin-left: 10px;
        width: auto;
        position: relative;
    }

    .field-radio-button label {
        display: inline;
        padding-left: 30px;
        cursor: pointer;
    }

        .field-radio-button label:before {
            content: "";
            box-sizing: border-box;
            position: absolute;
            top: 4px;
            left: 0;
            width: 40px;
            height: 40px;
            border: 2px solid black;
            border-radius: 50%;
            background: transparent;
        }

    .field-radio-button input:checked ~ label:after {
        content: "";
        position: absolute;
        top: 14px;
        left: 10px;
        width: 10px;
        height: 10px;
        border: 5px solid black;
        border-radius: 50%;
        opacity: 1;
        background: black;
    }

    .field-radio-button input:focus ~ label:before {
        outline: 3px solid transparent;
        outline-offset: 3px;
        box-shadow: 0 0 0 4px #0096f2;
    }

.field-check-box {
    margin: 0 10px 20px 10px;
    width: auto;
    position: relative;
    padding-top: 9px;
    display: flex;
}

    .field-check-box input {
        opacity: 0;
        margin-left: 10px;
        width: auto;
        position: relative;
    }

    .field-check-box label {
        display: inline;
        padding-left: 30px;
        cursor: pointer;
    }

    .field-check-box .field-hint {
        margin-left: 30px;
    }

    .field-check-box label:before {
        content: "";
        box-sizing: border-box;
        position: absolute;
        top: 7px;
        left: 4px;
        width: 24px;
        height: 24px;
        border: 2px solid black;
        background: transparent;
    }

    .field-check-box input:checked ~ label:after {
        content: "";
        position: absolute;
        top: 14px;
        left: 8px;
        width: 14px;
        height: 4px;
        border: solid black;
        border-width: 0 0 3px 3px;
        opacity: 1;
        transform: rotate(-50deg);
    }

    .field-check-box input:focus ~ label:before {
        outline: 3px solid transparent;
        outline-offset: 3px;
        box-shadow: 0 0 0 4px #0096f2;
    }

.field-label {
    display: block;
    font-weight: 700;
    line-height: 25px;
}

.field-prefix-group {
    display: flex;
}

    .field-prefix-group div:first-child {
        /*width: 40px;*/
        /*font-size: 1.125em;*/
        /*font-weight: bold;*/
        padding: 8px 14px;
        border: 2px solid #BBB;
        border-right: 0;
        background-color: #EEE;
    }

.field-hint {
    display: block;
    color: #555;
    margin-bottom: 10px;
    font-size: 16px;
}

.field {
    margin-bottom: 20px;
}

.field-date {
  display: inline-block;
  width: 30%;
}

    .field-date:last-child {
        margin-right: 0;
    }

.broker-field-date {
    width: 100px;
    height: 40px;
}

.broker-dob-label {
  font-size: 16px;
  line-height: 22px;
  margin: 0;
}

#main-customer-date-of-birth-question fieldset {
  display: flex;
  justify-content: space-between;
}

/* Table */

table {
    border-collapse: separate;
    width: 100%;
    border-spacing: 0 30px;
}

td, th {
    text-align: left;
    border: 1px solid #797979;
    padding: 10px 20px;
    font-weight: normal;
    display: block;
    background: #f6f6f6;
    width: 100%;
}

    th.detailed-column,
    td.detailed-column {
        text-align: center;
        background: #fff;
        border-top: none;
        padding: 20px;
        line-height: 1.5em;
    }

[type=date] {
    max-width: 200px;
    letter-spacing: 2px;
}

.card-compact {
    margin: 5px 20px;
    max-width: 500px;
    flex-direction: row;
    font-size: 1rem;
    font-weight: bold;
}

    .card-compact li, .card-compact label {
        padding: .50rem 1rem;
    }

.card-header {
    width: 30rem;
    border-bottom: none;
    border-right: 1px solid rbga(0,0,0,.125);
}

.card-info {
    margin: 2rem 0;
}

.alert {
    margin-top: 2rem;
}

/* Input widths */

.two-char,
.four-char {
  width: 100%;
  border: 2px solid #000;
}

.broker-two-char,
.broker-four-char {
    width: 100%;
    border: 1px solid #505A5F;
}


/* Error Styling */
.validation-summary-errors {
    background: #fff;
    border: 4px solid #d4351c;
    color: #d4351c;
    padding: 20px;
    margin-bottom: 20px;
}

    .validation-summary-errors ul {
        padding: 0;
        margin: 0;
    }

        .validation-summary-errors ul li {
            list-style: none;
            font-weight: bold;
            margin: 10px 0 0 0;
            line-height: 24px;
        }

.validation-summary-valid {
    display: none;
}

.validation-summary-errors h2 {
    color: #000;
    margin: 0;
    font-size: 23px;
}

.validation-summary-errors a {
    color: #d4351c;
    font-weight: bold;
}

.field-validation-error {
    color: #d4351c;
    font-weight: bold;
    display: block;
    background-image: url(../images/error_48px.svg);
    background-position: left center;
    background-size: 33px;
    background-repeat: no-repeat;
    padding: 10px 0 10px 53px;
    margin-left: 10px;
}

    .field-validation-error.pad-bottom {
        margin-bottom: 10px;
    }

.validation-summary-errors p {
    margin: 10px 0 0 0;
}

.hidden {
    display: none;
}

.indented {
    padding-left: 20px;
}

.field-validation-valid {
    display: none;
    padding: 0 0 0 0;
}

.centered {
    text-align: center;
}

.information-box {
    background-color: #f6f6f6;
    padding: 20px 30px;
    margin: 10px 0;
}

/* The Table */

.product-container {
    position: relative;
    margin: 20px 0;
    font-size: .75rem;
    width: 100%;
    border: 1px solid #ddd;
    display: flex;
}

.broker-product-container {
    position: relative;
}

.product-select-button {
    position: absolute;
    right: 30px;
    bottom: 20px;
    z-index: 1;
}

.product-info-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    column-gap: 16px;
}

    .product-container.keyfeature {
        background: #f3f8e4;
        border: none;
        cursor: auto;
        padding: 20px 30px;
        margin: 20px 0 50px 0;
        border-radius: 10px;
    }

        .product-container.keyfeature:hover {
            box-shadow: none;
        }

.product-radio {
    display: none;
}

.product-container .product-name {
    font-family: "FSAlbertBold", Arial, Helvetica, sans-serif;
    font-weight: normal;
    width: 100%;
    font-size: 22px;
    border: none;
    padding-bottom: 10px;
    color: #005488;
}

.product-container.keyfeature .product-name {
    font-family: "FSAlbertRegular", Arial, Helvetica, sans-serif;
    font-weight: bold;
    background: transparent;
    color: black;
    margin-top: 0;
    font-size: 22px;
}

.product-info-list-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 30px;
}

.broker-mortgage-deals {
  margin-bottom: 30px;
  border: #505A5F solid 1px;
}

.fee-payment-container {
  font-family: Graphik-Regular, Graphik, sans-serif;
  background-color: #E1EAEF;
  padding: 10px 20px 10px 20px;
}

.bank-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 300px;
  margin-top: 16px;
  padding-top: 30px
}

.bank-details-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.bank-details-label {
  flex: 0 0 50%;
  max-width: 40%;
  font-weight: 400;
  color: #000;
}

.bank-details-data {
  flex: 1 1 50%;
  text-align: left;
  font-weight: 500;
  color: #000;
  word-break: break-word;
}

.product-container.keyfeature .product-info-list-container {
  display: block;
  padding: 0;
  justify-content: space-between;
  flex-wrap: wrap;
}

.broker-product-container {
    position: relative;
}

.broker-product-container .broker-product-name {
    background: #F7F8FA;
    color: #165788;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    padding-top: 10px;
}

.product-info-item {
    display: block;
    margin: 10px 0;
    width: 50%;
}

    .product-info-item:last-child {
        width: 100%;
        text-align: center;
    }

.product-container.keyfeature .product-info-item {
    display: flex;
    margin: 12px 0;
    width: 100%;
}

.product-info-header {
    text-transform: inherit;
    font-size: 18px;
    text-transform: uppercase;
    font-size: .75rem;
}

.broker-product-acc-no {
    font-size: 18px;
    text-align: left;
    padding-left: 15px;
    font-weight: bold;
    margin: 10px 0 10px 0;
}

.broker-product-info-header {
    font-size: 16px;
    color: #505A5F;
    margin: 0;
    line-height: 1.2;
    min-height: 2.4em; /* reserve ~2 lines worth of space to match longer headers */
    display: flex;
    align-items: center;
}

.broker-product-label {
    font-size: 16px;
    text-align: left;
    padding-left: 15px;
    font-weight: bold;
    margin: 10px 0 10px 0;
}

.broker-product-header {
    padding-left: 18px;
    display: block;
}

.broker-product-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
    color: #000;
    font-weight: 400;
}

    .broker-product-meta .label {
        font-weight: 600;
        color: #000;
    }

.product-container.keyfeature .product-info-header {
    text-transform: inherit;
    font-size: 18px;
}

.product-info {
    font-size: 18px;
    padding-left: 0;
}

.broker-product-info {
    padding-left: 0;
    font-size: 18px;
    color: #165788;
    font-weight: 500;
}

.product-info-broker {
    padding-left: 0;
    font-size: 18px;
    color: #000000;
    font-weight: 500;
}

.select-product-button {
    background-color: #1574E0;
    width: 178px;
    height: 40px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    padding-top: 7px;
    margin-right: 20px;
    margin-top: 20px;
}

.broker-product-button {
    color: #FFFFFF;
}

.product-container.keyfeature .product-info {
    padding-left: 10px;
}

/* Filter */

#filter {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px 30px;
    display: none;
}

    #filter h3 {
        width: 100%;
    }

    #filter input {
        border: none;
        padding: 0;
    }

button.filter-text {
    cursor: pointer;
    display: block;
    text-decoration: underline;
    background: transparent;
    color: #000;
    margin: 0 auto;
}

    button.filter-text:focus {
        border: none;
        outline: 1px solid transparent;
        -webkit-box-shadow: inset 0 0 0 1px #fff;
        box-shadow: inset 0 0 0 1px #fff;
    }

.box .checkbox {
    font-size: 14px;
}

.broker-box .broker-checkbox input{
    height: 24px;
    width: 24px;
    margin-right: 10px;
}

.broker-box .broker-checkbox label {
    display: inline-flex;
    line-height: 33px;
}

.broker-box {
}

.box label {
    margin: 0;
}

.results {
    margin-bottom: 80px;
}

/* Footer */

.footer-content {
    background: #f2f2f2;
    padding: 40px 20px;
    font-size: 14px;
}

  .footer-content a,
  .footer-content a:visited {
    text-decoration: none;
    font-weight: bold;
  }

  .footer-content ul {
    margin: 0 0 30px 0;
    padding: 0;
  }

    .footer-content ul li {
      display: block;
      list-style: none;
      padding: 10px 0;
      margin: 0;
    }

      .footer-content ul li:last-child {
        border: none;
      }

.optanon-toggle-display {
    cursor: pointer;
}

/* Break down styles */

.disabled-link {
    color: #999999;
    text-decoration: none;
}

.table-list {
    margin: 0;
    list-style: lower-alpha;
}

    .table-list li {
        margin-bottom: 10px;
    }

#broker-footer {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  text-align: left;
  border-top: 1px solid #505A5F40;
  padding-top: 40px;
  font-size: 14px;
}


#broker-footer-span {
  flex: auto;
  bottom: 0;
  height: 0.5rem;
  margin-top: 9rem;
  margin-bottom: 6rem;
  background-color: #C1CFDC;
  opacity: 90;
}

#broker-footer-content {
  font-family: Graphik-Regular, Graphik, sans-serif;
  color: #505A5F;
  margin: 0 0rem 2rem 0rem;
}

.broker-footer-link {
  color: #3672D9;
  text-decoration: underline;
}

/* Accessibility */
.speak-digits {
  speak: digits;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .logo {
        width: 200px;
        height: 86px;
    }

    button,
    a.button {
        padding: 15px 25px;
    }

        button.logout {
            width: 120px;
            height: 60px;
        }

    table {
        border-collapse: collapse;
        border: 1px solid #797979;
        width: 100%;
    }

    tr.alt-row {
        background: #f7f7f7;
    }

    td, th {
        padding: 10px 30px;
        display: table-cell;
        background: transparent;
        width: 50%;
    }

        th.detailed-column,
        td.detailed-column {
            background: transparent;
        }

    .login {
        width: 480px;
        margin: 0 auto;
    }

    .top-links {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

        .top-links h1 {
            margin-bottom: 0;
        }

    .container.bottom-links {
        display: flex;
        flex-direction: row;
        margin: 30px auto;
    }

    .container.top-links .backLink {
        display: table;
        align-items: center;
        padding-left: 30px;
        white-space: nowrap;
    }

    .field-radio-button label {
        padding-left: 50px;
    }

    .footer-content ul li {
        display: inline-block;
        border-right: 1px solid;
        padding: 0 20px;
        margin: 10px 0;
    }

  .footer-content {
    text-align: center;
  }

    .footer-content p {
      margin: 0;
    }

    button.customerAgreement {
        width: auto;
    }

    button.switchDeals {
        margin-left: 70px;
    }
}

.broker-title {
  font-family: Produkt-Medium, Produkt, sans-serif;
  padding-left: 16px;
  font-size: 36px;
  color: #165788;
  border-left: 2px solid #739600;
  margin-top: 20px;
  font-weight: 500;
}

.broker-details-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #F7F8FA;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 16px;
}

    .broker-details-checkbox input[type="checkbox"] {
        appearance: auto;
        width: 40px;
        height: 40px;
        margin: 0;
        vertical-align: middle;
    }

    .broker-details-checkbox span {
        display: inline-block;
        line-height: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }

.broker-info {
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 12px;
    font-size: 16px;
}

.broker-info p {
    line-height: 12px;
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .container.card-information {
    grid-template-rows: 100%;
  }

  .card-details {
    -ms-grid-column: 2;
    -ms-grid-columns: 100%;
    -ms-grid-row: 1;
    /* -ms-grid-rows: 1fr 1fr; */
    grid-area: TopMiddle;
  }

  .product-info-list-container {
    width: 100%;
    padding: 0;
    flex-wrap: nowrap;
  }

    .product-container .product-name {
        background: #f3f8e4;
        color: #000;
        text-align: center;
        font-size: 14px;
        padding-top: 30px;
    }


    .broker-product-container .broker-product-name {
        background-color: #F7F8FA;
        color: #165788;
        text-align: left;
        font-size: 18px;
        font-weight: 500;
        padding-top: 10px;
        width: 293px;
    }

    .broker-current-product-container {
        background-color: #F7F8FA;
        color: #165788;
        text-align: left;
        font-size: 18px;
        font-weight: 500;
        padding-top: 10px;
    }

    .product-container.keyfeature .product-name {
        margin-top: 25px;
    }

    .broker-filter {
        display: grid;
        gap: 24px;
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
        padding: 20px;
    }

    .broker-filter-container {
        background-color: #F7F8FA;
    }

    .filter-heading {
        margin: 20px;
        padding-top: 15px;
    }

    .product-info-item {
        padding: 20px 1rem;
        width: auto;
        margin: 0;
    }

    .broker-product-info-item {
        padding: 20px 1rem;
        width: auto;
        margin: 0;
    }

    .product-info-item:last-child {
        width: auto;
        padding-top: 25px;
    }

  .product-container.keyfeature .product-info-list-container {
    display: flex;
  }

  .product-container.keyfeature .product-info-item {
    padding: 0 1rem 0 0;
    display: block;
    text-align: left;
    width: auto;
  }

  .product-info-item.product-name {
    width: 23%;
  }

  .product-info-header,
  .product-container.keyfeature .product-info-header {
    text-transform: uppercase;
    font-size: .75rem;
    padding-bottom: 10px;
  }

  .product-container.keyfeature .product-info {
    padding-left: 0;
  }

  button.button-small,
  a.button.button-small {
    width: 110px;
  }

    #authorised-to-submit-content {
        margin-left: 15px;
        padding-top: 10px;
    }

    #filter {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
    }

  button.filter-text {
    display: none;
  }

  .box {
    width: 28%;
    display: inline-block;
    border-right: 1px solid #ddd;
  }

    .box:last-child {
      border-right: none;
    }

    .broker-box {
        width: auto;
        display: block;
        padding: 0 16px;
        border-right: 1px solid #ddd;
    }

    .broker-box:last-child {
      border-right: none;
    }

  .question-label-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .question-label {
    width: 45%;
    margin-right: 5%;
    display: block;
  }

    .question-label:last-child {
      margin-right: 0;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .logo.login {
        margin-top: 30px;
    }

    .field-radio-button {
        margin: 0 70px 20px 10px;
        float: left;
    }

        .field-radio-button label {
            padding-left: 30px;
        }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

/* Extra small devices (320px and below) */
@media only screen and (max-width: 320px) {
    .logo {
        width: 150px;
        height: 65px;
    }

    button.logout {
        width: 70px;
        font-size: 14px;
    }
}

.btn-logout {
    background: linear-gradient(90deg, #ffb6c1 0%, #dda0dd 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(221, 160, 221, 0.2);
    transition: background 0.3s;
    width: 480px;
    margin: 0 auto;
    display:inline-block;
    text-align:center;
    padding:15px;
}

    .btn-logout:hover {
        background: linear-gradient(90deg, #dda0dd 0%, #ffb6c1 100%);
        color: #fff;
    }
