body {
    font-family: 'Signika', sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
    height: 100%;

}

#amount::before
{
    content: "R";


}

.body-content {
    border: 3px solid #1a91b2;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 0;
    border-radius: 20px !important;
    background: #FFFFFF;
    border-radius: 3px;
    width: 100%;
    height: 600px;
    z-index: 9999;
    vertical-align: top;

    margin-left: auto;
    margin-right: auto;
    color: #f2f2f2;
    overflow: hidden;
    box-sizing: border-box;
}

.header {
    width: 100%;
    background-color: #fff;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.header-text {
    text-align: center;
    flex-grow: 1;
    margin: 0 10px;
    padding: 0;
}

.header-text, .small-screen-header-text h1 {

    font-weight: bold;
    color: #333;
    margin-right: 0px;
    text-align: end;
}

.small-screen-header-text h1 {
    margin-top:-20px !important;
}

.left-image,
.right-image {
    width: 125px;
    height: 32;
}

.right-image {
    margin-top: -80px;
}

.header-text .highlight {
    background-color: #1a91b2;
    color: #fff;
    padding: 0 10px;
    border-radius: 0px;
}

.small-screen-header-text .highlight {
    background-color: #1a91b2;
    color: #fff;
    padding: 0 10px;
    border-radius: 0px;
}

.details-form-section {
    width: 100%;
    display: inline-block;
    border-radius: 3px;
    padding: 5px;
    color: #000000;
}

#amount {
    top: 10%;
    color: #1a91b2;
}

output {
    position: absolute;
    font-size: 1.5rem;
    right: 15px;
}

.grey_head {
    background: #1a91b2;
    font-weight: bold;
    color: white;
}

.grey_head span {
    color: #f2f2f2;
}

.grey_head small {
    font-size: 12px;
}

.submit_button {
    outline: none;
    width: 20%;
    user-select: none;
    background-color: #1a91b2;
    border-radius: 3px;
    border: 0;
    color: #f2f2f2;
    cursor: pointer;
    /* display: inline-block; */
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.01rem;
    line-height: 1;
    padding: 0.7rem 1.4rem;
    text-align: center;
    text-decoration: none;
    -webkit-transition: background 150ms ease, color 150ms ease, border 150ms ease;
    transition: background 150ms ease, color 150ms ease, border 150ms ease;
    vertical-align: middle;
    text-transform: uppercase;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    float: right;
}

.submit_button:hover {
    background-color: #1a91b2;
    color: white;
    text-decoration: none;

}

.range-input {
    clear: both;
    width: 100%;
    float: left;
    border: none;
    padding: 2px 0;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}
/*
input[type=range] {
    width: 100%;
    margin: 3.5px 0;
    background-color: transparent;
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    background: #ffffff;
    border: 0.2px solid #ffffff;
    border-radius: 1.3px;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    margin-top: -3.7px;
    width: 15px;
    height: 15px;
    background: #000000;
    border: 1px solid #f2f2f2;
    border-radius: 15px;
    cursor: pointer;
    -webkit-appearance: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ffffff;
}

input[type=range]::-moz-range-track {
    background: #ffffff;
    border: 0.2px solid #ffffff;
    border-radius: 1.3px;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #000000;
    border: 1px solid #f2f2f2;
    border-radius: 15px;
    cursor: pointer;
}

input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 4.5px 0;
    color: transparent;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range]::-ms-fill-lower {
    background: #f2f2f2;
    border: 0.2px solid #ffffff;
    border-radius: 2.6px;
}

input[type=range]::-ms-fill-upper {
    background: #ffffff;
    border: 0.2px solid #ffffff;
    border-radius: 2.6px;
}

input[type=range]::-ms-thumb {
    width: 15px;
    height: 15px;
    background: #000000;
    border: 1px solid #f2f2f2;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 0px;
    !*Needed to keep the Edge thumb centred*!
}

input[type=range]:focus::-ms-fill-lower {
    background: #ffffff;
}

input[type=range]:focus::-ms-fill-upper {
    background: #ffffff;
}

!*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*!
@supports (-ms-ime-align:auto) {

    !* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 *!
    input[type=range] {
        margin: 0;
        !*Edge starts the margin from the thumb, not the track as other browsers do*!
    }
}

input[type=range] {
    width: 100%;
    margin: 3.5px 0;
    background-color: transparent;
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    background: #ffffff;
    border: 0.2px solid #ffffff;
    border-radius: 1.3px;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    margin-top: -3.7px;
    width: 15px;
    height: 15px;
    background: #000000;
    border: 1px solid #f2f2f2;
    border-radius: 15px;
    cursor: pointer;
    -webkit-appearance: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ffffff;
}

input[type=range]::-moz-range-track {
    background: #ffffff;
    border: 0.2px solid #ffffff;
    border-radius: 1.3px;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #000000;
    border: 1px solid #f2f2f2;
    border-radius: 15px;
    cursor: pointer;
}

input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 4.5px 0;
    color: transparent;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range]::-ms-fill-lower {
    background: #f2f2f2;
    border: 0.2px solid #ffffff;
    border-radius: 2.6px;
}

input[type=range]::-ms-fill-upper {
    background: #ffffff;
    border: 0.2px solid #ffffff;
    border-radius: 2.6px;
}

input[type=range]::-ms-thumb {
    width: 15px;
    height: 15px;
    background: #000000;
    border: 1px solid #f2f2f2;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 0px;
    !*Needed to keep the Edge thumb centred*!
}

input[type=range]:focus::-ms-fill-lower {
    background: #ffffff;
}

input[type=range]:focus::-ms-fill-upper {
    background: #ffffff;
}*/

/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {

    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    input[type=range] {
        margin: 0;
        /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
}


/*
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="password"],
input[type="tel"],
select,
input[type="file"] {
    width: 100%;
    margin: 2px 0;

    border-radius: 3px;
    padding: 2px 5px;
    outline: none;
    color: #000000;
    border: 1px solid #D5DADF;
    !*height: 36px !important;*!
    box-sizing: border-box;
}*/


.form-group {
    margin-bottom: 2px;
}


/*
!* range input *!

.loan_amount_bar input {
    -webkit-appearance: none;
    width: 100%;
    height: 18px;
    background: #E5E5E5;
    !* border-radius: 5px; *!
    outline: none;
    color:#E5E5E5;
}

  .loan_amount_bar  input::-webkit-slider-thumb{
        -webkit-appearance:none;
        width:25px;
        height:25px;
        border-radius:50%;
        background-image: url('/images/ua_piggy_nose.svg');
        cursor: pointer;
}

.range-input::-moz-range-thumb {
    width: 50px;
    height: 50px;
    background-color: transparent;
    background-image: url('/images/ua_piggy_nose.svg');
    cursor: pointer;
}

!* Customizing the thumb for WebKit browsers *!
.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 60px; !* Increase width *!
    height: 60px; !* Increase height *!
    background-color: transparent;
    background-image: url('/images/ua_piggy_nose.svg');
    cursor: pointer;
}

!* Customizing the thumb for Firefox *!
.range-input::-moz-range-thumb {
    width: 60px; !* Increase width *!
    height: 60px; !* Increase height *!
    background-color: transparent;
    background-image: url('/images/ua_piggy_nose.svg');
    cursor: pointer;
}

!* Customizing the thumb for Internet Explorer *!
.range-input::-ms-thumb {
    width: 60px; !* Increase width *!
    height: 60px; !* Increase height *!
    background-color: transparent;
    background-image: url('/images/ua_piggy_nose.svg');
    cursor: pointer;
}*/



input[type="range"],
input[type="range"]:focus,
input[type="range"]:hover,
input[type="range"]:active
{

    /* removing default appearance */
    -webkit-appearance: none;
    appearance: none;
    /* creating a custom design */
    width: 100%;
    cursor: pointer;
    accent-color: #454040;

}

/* Track: webkit browsers */
input[type="range"]::-webkit-slider-runnable-track {
    height: 20px;
    background: #e1e1e1;
}

/* Track: Mozilla Firefox */
input[type="range"]::-moz-range-track {
    height: 20px;
    background: #e1e1e1;
}

/* Thumb: webkit */
input[type="range"]::-webkit-slider-thumb {
    /* removing default appearance */
    -webkit-appearance: none;
    appearance: none;
    /* creating a custom design */
    height: 30px;
    width: 30px;
    position:relative;
    background-image: url('/images/ua_piggy_nose.svg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top:-5px;


}


/* Thumb: Firefox */
input[type="range"]::-moz-range-thumb {
    height: 30px;
    width: 30px;
    background-image: url('/images/ua_piggy_nose.svg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    position:relative;
    margin-top:-5px;

}


/* end range input */

.loan_amount_bar {
    position: relative;
    background: white;
    overflow: hidden;
    padding: 5px;
    font-size: 15px;
    margin-bottom: 10px;
}

#agree_to_terms {
    margin-right: 10px;
    margin-left: 10px;
    max-width: 100%;
    display: block;
    float: left;
}

#agree_to_terms_label {
    margin-right: 10px;
    margin-left: 10px;
    max-width: 100%;
    display: block;
    float: left;
}

.agree_to_tc label {
    color: #1a91b2 !important;
}

a {
    color: #1a91b2 !important;
}

/*----------------*/

.leaderboard {
    width: 728px;
    height: 90px;
    overflow: hidden;


}

.leaderboard .grey_head {
    padding: 10px;
    float: left;
    width: 140px;
    height: 90px;
    text-align: center;
    margin-right: 5px;
    font-size: 19px;
    line-height: 19px;
}

.leaderboard .details-form-section {
    float: left;
    width: 578px;
    padding: 3px;
}

.leaderboard .form-group {
    width: 32%;
    float: left;
    margin: 2px 1px
}
/*
select {
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px !important;
    color: #636C73;
    height: 35px !important;

}*/

select:focus {
    border-color: #1a91b2;
    box-shadow: 0 0 5px #1a91b2;
}

input::placeholder,
textarea::placeholder {
    font-family: 'Segoe UI', sans-serif;
    /*font-size: 14px;*/
    color: #636C73;
}

.debt-review{
    width: 100%;
}

.leaderboard .agree_to_tc {
    width: 50%;
    line-height: 18px;
    font-size: 10px;
    overflow: hidden;
    /* if you don't want #second to wrap below #first */
}

.leaderboard .agree_to_terms_input {
    width: 10px;
    height: 10px;
    margin-right: 5px;
    float: left;
}

.leaderboard .agree_to_terms_a {
    float: left;
    font-size: medium;
    margin-top: 3px;
}

.leaderboard .form-group input {
    float: right;
    margin: 0px;
    padding: 0px;
    height: 24px;
}

.leaderboard .form-group input[type=range] {
    float: right;
}



.leaderboard .form-group output {
    font-size: 15px;
}


.leaderboard .form-fields {
    width: 470px;
    float: left;
    padding: 0 5px;
}

.leaderboard .submit_button {
    float: left;
    width: 75px;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    margin: 15px 10px 10px 10px;
}


.leaderboard .details-form-section {
    position: relative;
    height: 90px;
}

.leaderboard img {
    position: absolute;
    top: 25px;
    width: 120px;
    right: 15px;
}

.leaderboard .form-control-xs {
    /*height: calc(1em + .375rem + 2px) !important;*/
    height: 24px;
    padding: 0px;
    margin: 0px;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 1px;
    float: left;
}

/*----------------*/

.skyscraper {
    width: 160px;
    height: 600px;
    overflow: hidden;
}

.skyscraper .grey_head {
    padding: 15px 20px;
    font-weight: bold;
    height: 90px;
    margin-bottom: 5px;
    font-size: 19px;
    line-height: 19px;
}

.skyscraper .details-form-section {
    height: 470px;
    position: relative;
}

.skyscraper .container-fluid {
    padding: 10px 5px;
}

.skyscraper .agree_to_tc {
    margin-top: 10px;
}

.skyscraper #agree_to_terms {
    margin-right: 5px;
    margin-left: 0px;
    max-width: 100%;
    display: block;
    float: left;
}

.skyscraper img {
    position: absolute;
    bottom: 20px;
    width: 120px;
    left: 20px;
}

.skyscraper .form-group {
    position: relative;
    padding-bottom: 2px;
}

.skyscraper output {
    top: auto;
    position: static;
    width: 100%;
    display: block;
    text-align: right;
    right: 20px;
}

.skyscraper .details-form-section h3 {
    font-size: 18px;
}

/*----------------*/

.half_page {
    width: 300px;
    /* height: 600px; */
    /* overflow: hidden; */
}

.half_page .desktop{
    display: none;
}
.half_page .mobile{
    display: block;
}

.half_page .right-image {
    margin-top: -55px;
}

.half_page .submit_button {
    width: 100%;
    /* Full width on mobile */
    margin-top: 10px;
}

.half_page .header {
    padding: 15px 20px;
    font-size: 12px;
    line-height: 19px;
    height: 70px;
    margin-bottom: 15px;
}

.half_page .header-text, .small-screen-header-text h1 {

    font-weight: bold;
    color: #333;
    margin-top: -30px;
    text-align: center;
}

.half_page .header-text {
    text-align: end;
    flex-grow: 0;
    margin-right: 0px !important;
    margin-bottom: -15px;
    /* padding: 0; */
}

.half_page .details-form-section {
    height: 530px;
    position: relative;
    padding-top: 10px;
}

.half_page img {
    /* position: absolute; */
    /* bottom: 20px; */
    width: 90px;
    /* left: 20px; */

}

.half_page .form-group {
    position: relative;
    margin-bottom: 2px;
}


.half_page h3 {
    font-size: 12px;
}

.half_page .details-form-section h3 {
    font-size: 17px;
}

.half_page .agree_to_terms_input {

    margin-top: 20px;
}

.half_page .agree_to_terms_a {
    float: left;
    /* font-size: x-large; */
    margin-top: 19px;
}

.half_page .details-form-section #request_form .form-fields .row .col-md-6 {
    width: 100% !important;
    min-width: 100% !important;
}

/*----------------*/

.block {
    width: 600px;
    height: 600px;

}

.block .header-text{
    text-align: right;
    flex-grow: 0;

}
.block  .desktop {
    display: none;
}
.block .mobile {
    display: block;
}
.block .submit_button {
    width: 100%;
    /* Full width on mobile */
    margin-top: 10px;
}

.block .small-screen-header-text h1 {

    font-weight: bold;
    color: #333;
    margin-top: -5px !important;
    text-align: right;
    margin-right: 22px !important;
    text-align: right;
    flex-grow: 0;
}

.block .header-text {
    text-align: end;


    margin-bottom: -15px;
    /* padding: 0; */
}

.block .header {
    padding: 15px 20px;
    font-weight: bold;
    font-size: 19px;
    line-height: 19px;
    height: 70px;
    margin-bottom: 15px;
}



.block .details-form-section {
    /* height: 530px; */
    /* position: relative; */
    padding-top: 5px;
}

/* .block img {
    position: absolute;
    bottom: 20px;
    width: 500px;
    left: 20px;

} */

.block .form-group {
    position: relative;
    margin-bottom: 2px;
}


.block h3 {
    font-size: 17px;
}

.block .details-form-section h3 {
    font-size: 27px;
}

.body-content {
    /*   border:1px solid black;*/
    background: white;
}

/*-------------------------------*/

.full_page {
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    /* margin: 0;
    padding: 0; */
}

/*.full_page .header {
    padding: 20px;
    font-weight: bold;
    font-size: 28px;
    line-height: 28px;
    height: 120px;
    margin-bottom: 5px;
}*/

.full_page .header small {
    font-size: 16px;
}

.full_page .details-form-section {
    height: 100%;
    position: relative;
}

.full_page img {
    /* position: absolute; */
    /* bottom: 20px; */
    width: 130px;
    /* left: 20px; */

}

/*.full_page .form-group {
    position: relative;
    margin: 5px 0px;
}*/


.full_page h3 {
    font-size: 28px;
}

.full_page .details-form-section h3 {
    font-size: 28px;
}

.full_page .agree_to_tc {
    line-height: 18px;
    font-size: 16px;
    overflow: hidden;
    /* if you don't want #second to wrap below #first */
    margin-top: 3px;
}

.full_page .agree_to_terms_input {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    float: left;
    margin-top: 20px;
}


.full_page .agree_to_terms_a {
    float: left;
    /* font-size: x-large; */
    margin-top: 23px;
}

/*.full_page .submit_button {
    height: 75px;
    margin-top: 25px;
}*/

.full_page .fp-label {
    font-size: 1.125rem;
}

.mobile {
    display: none;
}

/* Media Query for Mobile */
@media (max-width: 768px) {

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }


    .body-content {
        padding: 10px;
        /* Reduce padding for mobile */

        /* Reduce margin for mobile */
        border-radius: 30px !important;



    }

    .left-image {
        width: 90px;
        /* Smaller size for mobile */
        height: auto;
    }

    .header-text {
        font-size: 17px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: right;
        align-items: flex-end;
        /* margin-right: 10px; */
        /* order: 0; */
    }

    .submit_button {
        width: 100%;

        /* Full width on mobile */
        margin-top: 10px;
    }
    .small-screen-header-text h1 {

        text-align: right;
        flex-grow: 0;
        margin-right: 22px !important;
    }

    .details-form-section #request_form .form-fields .row .col-md-6 {
        width: 100% !important;
        min-width: 100% !important;
    }
}

input, select, option {
    box-sizing: border-box;
}
input, select {
    width:100%;
    height:28px;
    border : 1px #ccc solid;
    vertical-align:top;
    font-family: 'Segoe UI', sans-serif;
    font-size: 15px !important;
    color: #636C73;
    padding: 2px 5px;
}


input[type="checkbox"] {
    float: left;
    margin-top: 2px;
    width: inherit;
    height:inherit;
}

h1
{
    font-size: 24px ;
    font-weight: bold;
}


@media (max-width: 400px) {
    h1
    {
        font-size: 18px ;
    }
}

@media (max-width: 300px) {
    h1
    {
        font-size: 12px ;
    }
}

.submit_button_container {
    padding-left: 15px;
    padding-right: 15px;
}
