﻿/*Mobile*/
@media only screen and (max-width: 700px) {
    #desktop-header {
        display: none;
    }

    #application-summary-desk {
        display: none;
    }

    #topup-button-index-desk {
        display: none;
    }

    #desk-calc-card {
        display: none;
    }

    #desktop-withdrawal {
        display: none;
    }

    #balances-details-desktop_wrapper {
        display: none;
    }

    #desk-step-content {
        display: none
    }

    #desktop-statements {
        display: none;
    }

    #desk-steps i {
        font-size: 2em;
        padding-left: 0.5em;
    }

    #desktop-message-bar {
        display: none;
    }

    #foot-address-div {
        display: none;
    }

    #footer-social-btn {
        font-size: 12px !important;
    }

    #table-closed_wrapper {
        display: none;
    }

    #message-desktop-div-card {
        width: 90%;
        margin: auto;
    }

    #payments-table-jb thead th {
        font-size: 0.9em;
        padding: .92857143em .4em;
    }

    #payments-table-jb tbody label {
        font-size: .9em;
    }

    #payments-table-jb tbody td {
        padding: .5em .4em;
    }

    #div-payments, #div-interest-payable, #div-total-payment {
        font-size: 1.8em !important;
    }

    #jb-expenditure-table thead th {
        padding: .92em .5em;
    }

    #jb-expenditure-table tbody td .ui.tiny.statistic {
        padding: 0.5em !important;
    }

        #jb-expenditure-table tbody td .ui.tiny.statistic .value {
            font-size: 2em !important;
        }

    #balances-index-desktop-head {
        display: none;
    }

    #form-step-1 .twelve.wide.column {
        padding: 0 !important;
    }

    #calculator-header {
        padding: 2rem 2rem 2rem 2rem !important;
    }



    #calc-borrow-span {
        max-width: 180px !important;
    }

        #calc-borrow-span span {
            font-size: 2em !important;
        }


    #calculator-body h4 {
        font-size: 1.1em !important;
    }

    #desktop-topup-row {
        padding: .2em;
    }

    #topup-desktop-step-5 {
        display: none;
    }

    #desktop-topup-repayment-details {
        display: none;
    }

    #topup-amount-slider {
        padding: 0 1rem;
    }

    #topup-term-slider {
        padding: 0 1rem;
    }

    #mobile-topup-steps i {
        font-size: 2rem;
        padding-left: 0.5rem;
    }

    #topup-steps-content {
        display: none;
    }

    #topup-desktop-actions {
        display: none;
    }

    .top-up-comparison {
        padding-bottom: 5em !important;
    }

    #mobile-topup-content.content {
        font-size: 0.2em;
    }

    #home-grid {
        display: none;
    }

    #desktop-step-8 {
        display: none;
    }

}

/*Desktop*/
@media only screen and (min-width: 700px) {
    #mobile-header {
        display: none;
    }

    #mobile-step-8 {
        display: none;
    }

    #balances-index-mob-head {
        display: none;
    }

    #balances-details-mobile_wrapper {
        display: none;
    }

    #mobile-statements {
        display: none;
    }

    #mobile-withdrawal {
        display: none;
    }

    #mob-message-bar {
        display: none;
    }

    #table-closed-mob_wrapper {
        display: none;
    }

    #mob-calc-card {
        display: none;
    }

    #topup-button-index-mob {
        display: none !important;
    }

    #desktop-topup-row {
        min-width: 135.556px;
        max-width: 135.556px;
        min-height: 51.5278px;
        max-height: 51.5278px;
    }


    #topup-mobile-step-5 {
        display: none;
    }

    #mobile-topup-repayment-details {
        display: none;
    }

    #topup-amount-slider {
        padding: 0 6rem;
    }

    #topup-term-slider {
        padding: 0 6rem;
    }

    #topup-mobile-actions {
        display: none;
    }

    #mobile-topup-step-4 {
        display: none;
    }

    #application-summary-mob {
        display: none;
    }

    #mobile-grid {
        display: none;
    }
}

@media only screen and (max-width: 1200px) {
    #table-open_wrapper {
        display: none;
    }

    #table-open-mob_wrapper .ui.grid .row {
        min-height: 5em;
    }

    #table-open{
        display : none;
    }
}

@media only screen and (min-width: 1200px) {
    #table-open-mob_wrapper {
        display: none;
    }

    #table-open-mob {
        display: none;
    }
}

#table-open-mob > thead > tr > th.sorting {
    max-width: 300px;
}

.from-me {
    position: relative;
    padding: 10px 20px;
    color: #FFF;
    background: #00815d;
    border-radius: 25px;
    float: right;
    text-align: right;
}

.from-them {
    position: relative;
    padding: 10px 20px;
    color: #000 !important;
    background: #E5E5EA;
    border-radius: 25px;
    float: left;
}


#main {
    background: rgb(242,245,246); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(242,245,246,1) 0%, rgba(227,234,237,1) 37%, rgba(200,215,220,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(242,245,246,1) 0%,rgba(227,234,237,1) 37%,rgba(200,215,220,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(242,245,246,1) 0%,rgba(227,234,237,1) 37%,rgba(200,215,220,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f5f6', endColorstr='#c8d7dc',GradientType=0 ); /* IE6-9 */
}

#app {
    padding: 2rem 0;
    min-height: 560px;
}

#ibdemo-header {
    padding: 1rem 0;
}

nav {
    background-color: #00815D;
}

    nav .ui.inverted.menu {
        background-color: #00815D;
    }

        nav .ui.inverted.menu .item {
            font-size: 1.2em;
            border-radius: 0;
        }

#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("hero.jpg");
    height: 700px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    #hero-text h1 {
        font-size: 3em;
    }

    #hero-text .sub.header {
        margin-top: 1rem;
        font-size: 0.6em;
    }

    #hero-text a {
        margin-top: 1rem;
    }

.ui.vertical.stripe {
    padding: 6em 0em;
}

    .ui.vertical.stripe.inverted.green {
        background-color: #00815D !important;
        border-top: 0;
    }

    .ui.vertical.stripe.gradient {
        background: rgb(242,245,246); /* Old browsers */
        background: -moz-linear-gradient(top, rgba(242,245,246,1) 0%, rgba(227,234,237,1) 37%, rgba(200,215,220,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(242,245,246,1) 0%,rgba(227,234,237,1) 37%,rgba(200,215,220,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(242,245,246,1) 0%,rgba(227,234,237,1) 37%,rgba(200,215,220,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f5f6', endColorstr='#c8d7dc',GradientType=0 ); /* IE6-9 */
    }

    .ui.vertical.stripe h3 {
        font-size: 2em;
    }

    .ui.vertical.stripe .button + h3,
    .ui.vertical.stripe p + h3 {
        margin-top: 3em;
    }

    .ui.vertical.stripe .floated.image {
        clear: both;
    }

    .ui.vertical.stripe p {
        font-size: 1.33em;
    }

    .ui.vertical.stripe .medium.image {
        padding: 1rem 0;
    }

    .ui.vertical.stripe .rounded.image {
        border-radius: 1.5em;
    }

.quote.stripe.segment {
    padding: 0em;
}

    .quote.stripe.segment .grid .column {
        padding-top: 5em;
        padding-bottom: 5em;
    }

    .quote.stripe.segment .avatar.image {
        width: 4em;
        height: 4em;
    }

footer {
    margin: 0 !important;
    padding: 2rem 0 !important;
    border-radius: 0 !important;
    border-bottom: 4px solid #00815D !important;
}

    footer a {
        color: #FFF
    }

        footer a:hover {
            color: #00815D !important;
        }

#footer-cright {
    margin-top: 0.5em;
}

footer h3 {
    font-size: 2rem !important;
}

#banner {
    background-color: #00815D;
    border-bottom: 0;
}

    #banner a {
        color: #e5e5e5 !important;
    }

        #banner a:hover {
            color: #FFF !important;
        }

.ui.green.basic.button {
    color: #00815D !important;
    box-shadow: 0 0 0 1px #00815D inset !important;
}

.ui.green.button, #sendbtnmsg {
    background: #00815D ;
    color: #f9f9f9 !important;
}

.ui.green.label {
    background-color: #00815D !important;
}

i.green.icon {
    color: #00815D !important;
}

#details-segment {
    padding: 1.5em 0.5em 1.5em 0.5em;
}

#head-desk-err {
    padding: 0.5em;
    width: 176px;
    float: right;
    font-size: 13px;
}

#side-bar {
    border-radius: 0;
    background-color: #00815D;
    margin-bottom: 0;
}

#form-login .three.fields {
    margin-bottom: 0.25em;
}

#form-login a, #app a {
    color: #00815d;
}

    #form-login a:hover, #app a:hover {
        color: #99ccbe;
    }


.ui.steps .step.active .title {
    color: #00815d;
}
/* Calculator */
#calculator-header {
    background-color: #ffffff;
    padding: 2rem 5rem 2rem 4rem;
}

    #calculator-header.header-alt {
        background-color: #DCECF9;
    }

    #calculator-header .category-button {
        position: relative;
        padding: 1rem;
        margin: auto;
        text-align: center;
        max-width: 110px;
        background-color: #4ca68d;
        border: 4px solid #00674a;
        border-radius: 8px;
        margin-bottom: 0.75rem;
        cursor: pointer;
    }

        #calculator-header .category-button:hover {
            background-color: #00815d;
            border-color: #00815d;
            transition: background-color .6s ease-out, border-color .6s ease-out;
        }

        #calculator-header .category-button.button-alt {
            background-color: #00815d;
            border: 4px solid #00815d;
        }

            #calculator-header .category-button.button-alt:hover {
                background-color: #00815d;
                border-color: #00815d;
            }

        #calculator-header .category-button.active {
            background-color: #00815d;
        }

        #calculator-header .category-button.button-alt.active:hover {
            background-color: #fff;
        }

    #calculator-header .category-text.text-alt {
        color: #000;
    }

#calculator-body {
    padding: 56px 0 56px 0;
    background-color: #089e74;
    font-family: 'geo-lite', sans-serif !important;
}

    #calculator-body h4 {
        font-weight: 100;
        font-size: 1.1em;
        color: #ffffff;
    }

    #calculator-body .borrow-label {
        font-weight: lighter;
        font-size: 2em;
        color: #fff;
    }

    #calculator-body .borrow-value {
        font-size: 2em;
        font-weight: bolder;
        color: #fff;
    }

    #calculator-body .range-container {
        padding-left: 5rem;
        padding-right: 5rem;
    }

#calculator-sidebar {
    padding: 0 1rem 1rem 1rem;
}

    #calculator-sidebar .sidebar-item {
        border: 4px solid #4ca68d;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

        #calculator-sidebar .sidebar-item .header {
            text-align: center;
            background-color: #4ca68d;
            color: #e5f2ee;
            font-family: 'geo-lite', sans-serif !important;
            font-size: 1.1em;
            padding: 0.5rem;
        }

        #calculator-sidebar .sidebar-item .content {
            padding: 1rem 0;
            text-align: center;
            color: #00674a;
            font-weight: bolder;
            font-family: 'geo-lite', sans-serif !important;
            font-size: 1.6em;
        }

    #calculator-sidebar .sidebar-button {
        margin-bottom: 1rem;
        border-radius: 8px !important;
        background-color: #128E96;
        color: #fff;
        font-weight: normal;
        font-family: 'geo-lite', sans-serif !important;
        font-size: 1.2em;
    }

        #calculator-sidebar .sidebar-button:last-child {
            margin-bottom: 0;
        }

        #calculator-sidebar .sidebar-button:hover {
            background-color: #16aab6;
        }

        #calculator-sidebar .sidebar-button.sidebar-button-secondary {
            background-color: #5bb0b7 !important;
        }

            #calculator-sidebar .sidebar-button.sidebar-button-secondary:hover {
                background-color: #6EB8BF !important;
            }


    #calculator-sidebar .ui.label {
        background: #00815d;
        color: #e5f2ee;
    }

    #calculator-sidebar label {
        color: #00815d;
    }

    #calculator-sidebar input {
        border-color: #00815d;
        color: #00674a;
    }

    #calculator-sidebar p {
        color: #00815d;
    }


.ui.range .inner .track-fill {
    background-color: #99ccbe !important;
}

.ui.range .inner .track {
    background-color: rgba(0,0,0,.15) !important;
}

.ui.range .inner .thumb {
    background-color: #D3D3D3 !important;
}

    .ui.range .inner .thumb:hover, .ui.range .inner .thumb:active {
        background-color: #ffffff !important;
    }

#calculator-header .category-text {
    text-align: center;
    color: #00674a;
    font-weight: 400;
    font-family: 'geo-lite', sans-serif !important;
    font-size: 18px;
}

.ui.divider {
    width: 95%;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem
}

#thread-cancel-btn {
    border-radius: .28571429rem 0 0 .28571429rem;
}

#thread-input-body {
    border-radius: 0;
}

.ui.bottom.attached.segment {
    background-color: #f7f7f7
}

#footer-social-btn:hover {
    background: #00815D !important;
    color: #FFF !important;
}

#table-open-mob_filter input {
    max-width: 160px;
}

#LoanCalculator .ui.form {
    margin-top: 1em;
}

#desk-calc-card .ui.message, #mob-calc-card .ui.message {
    border: 1px solid #00674a;
}

#LoanCalculator #calculator-body {
    border: 1px solid #00674a;
    border-radius: .28571429rem;
}

#LoanCalculator .value {
    color: #00674a
}

#mob-calc-card .value {
    font-size: 17px !important;
}

#mob-calc-card .ui.green.label {
    font-size: 11px !important;
}

#mob-calc-card .statistic {
    padding: 0;
}

#mob-calc-card .ui.message {
    padding: 1em 0.8em !important;
}

/*Placeholder not uppercase*/
::-webkit-input-placeholder {
    text-transform: initial;
}

:-moz-placeholder {
    text-transform: initial;
}

::-moz-placeholder {
    text-transform: initial;
}

:-ms-input-placeholder {
    text-transform: initial;
}

@media only screen and (min-width: 370px) {
    #balances-index-mob-head-xs{
        display : none;
    }
}

/*iPhone 5s*/
@media only screen and (max-width: 370px) {
    #hero {
        height: 430px
    }

    #hero-text {
        width: 310px;
    }

    #footer-social-btn {
        padding: .78571429em 1em;
    }

    .ui.large.button {
        font-size: 1em !important;
    }

    .ui[class*="right labeled"].icon.button {
        padding-right: 3em !important;
        padding-left: 1em !important;
    }

    .ui[class*="left labeled"].icon.button {
        padding-left: 3em !important;
        padding-right: 1em !important;
    }

    #payments-table-jb thead th {
        font-size: 0.7em;
        padding: .92857143em .4em;
    }

    #payments-table-jb tbody label {
        font-size: .7em;
    }

    #payments-table-jb tbody td {
        padding: .5em .4em;
    }

    #div-payments, #div-interest-payable, #div-total-payment {
        font-size: 1.3em !important;
    }

    #jb-expenditure-table thead th {
        padding: .92em .5em;
    }

    #jb-expenditure-table tbody td .ui.tiny.statistic {
        padding: 0 !important;
    }

        #jb-expenditure-table tbody td .ui.tiny.statistic .value {
            font-size: 1.5em !important;
        }

    #mob-calc-card .mini.statistic .ui.green.label {
        font-size: 10px !important;
        padding: .5833em .4em;
    }

    #balances-index-desktop thead th, #balances-index-desktop tbody td {
        padding: .5em;
    }

    #balances-details-mobile_length .selection.ui.dropdown, #mobile-statements_length .selection.ui.dropdown, #table-open-mob_length .selection.ui.dropdown {
        max-width: 55px;
    }

    #balances-details-mobile_filter input, #mobile-statements_filter input, #table-open-mob_filter input {
        max-width: 140px;
    }

    #balances-details-mobile thead th, #mobile-statements thead th {
        padding: .92857143em .4em;
    }

    #balances-details-mobile tbody td, #mobile-statements tbody td {
        padding: .4em;
        font-size: .9em;
    }

    #open-messages-segment {
        padding: 0.5em;
    }

    .ui.container {
        width: auto !important;
        margin-left: .5em !important;
        margin-right: .5em !important;
    }

    #calculator-header {
        padding: 2rem 1rem !important;
    }

    #calc-borrow-span {
        max-width: 130px !important;
    }

        #calc-borrow-span span {
            font-size: 1.5em !important;
        }


    #calculator-body h4 {
        font-size: 1em !important;
    }

    #step-1 {
        padding: 0 0 1rem 0;
    }

    #balances-index-mob-head{
        display : none;
    }
}

#topup-button-index-mob {
    padding: .78571429em
}

    #topup-button-index-mob i {
        margin-right: 0;
    }

.ui.green.statistic .value {
    color: #00815D;
}

@media only screen and (max-width: 400px) {
    #modal-top-up #step-1,
    #modal-top-up #step-2 {
        padding: 0 0 1rem 0;
    }
}

#mobile-topup-repayment-details {
    padding-top: 4em;
}

#application-summary-mob p {
    font-size: 0.9em;
}

@media only screen and (max-width: 933px) {
    #desk-steps i,
    #topup-steps i {
        font-size: 2rem;
        padding-left: 1rem;
    }

    #desk-step-content,
    #topup-steps-content {
        display: none;
    }

    .ui.form .fields {
        margin-bottom: 1em !important;
    }

    #with-desk {
        display: none;
    }

    #image-content-mobile {
        display: block;
    }
}


@media only screen and (min-width: 1080px) {

    #with-mob {
        display: none;
    }
}

@media only screen and (max-width: 420px) {

    #apply-payment-table-desk {
        display: none;
    }
}

@media only screen and (min-width: 420px) {
    #amount-minus, #amount-plus, #term-minus, #term-plus, #savings-minus, #savings-plus {
        display: none;
    }

    #apply-payment-table-mob {
        display: none;
    }
}

#loan-amount-input-div {
    font-size: 1.25em;
    width: 155px;
}

#loan-term-input-div {
    max-width: 90px;
    font-size: 1.25em;
}


@media only screen and (max-width: 1080px) {
    #acc-desk {
        display: none;
    }
}

@media only screen and (min-width: 1080px) {
    #acc-mob {
        display: none;
    }
}

.form-marketing-preferences {
    background-color: #EDEBED;
    border: 0;
    margin-bottom: 2rem;
}