body {
    color: #00567f;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}
h1, h2, h3, h4 {
    font-weight: 500;
}
hr {
    border-top: 1px solid #00567f;
}

/** text **/
.highlight {
    color:#ed193d;
}
.highlight a:link {
    color: #c41634;
}

/** blocks **/
.two-column {
    padding-top: 16px;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 4%;
    -moz-column-gap: 4%;
    column-gap: 4%;
}
.two-column p:first-of-type {
    margin-top:0;
}

.grey-paragraph,
.red-paragraph {
    padding: 20px 3%;
    margin: 20px 0;
    font-weight: 500;
    font-size: 18px;
}
.grey-paragraph {
    background-color:#f1f1f2;
}
.red-paragraph {
    background-color: #ed193d;
    color: #FFF !important;
}
.red-paragraph a:link {
    color: #f1f1f2 !important;
}

a.blue-button,
a.red-button {
    display: inline-block;
    color: #FFF !important;
    font-weight: bold;
    padding: 10px 10%;
    -moz-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.41);
    margin-top: 10px;
    -webkit-transition: background-color 0.5s ease-in-out;
    -moz-transition: background-color 0.5s ease-in-out;
    -o-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
}
.blue-button:hover,
.red-button:hover {
    -moz-box-shadow: 0 0 0 0;
    -webkit-box-shadow: 0 0 0 0;
    box-shadow: 0 0 0 0;
}
.blue-button {
    background-color: #00567f;
}
.blue-button:hover {
    background-color: #004566;
}
.red-button {
    background-color: #ed193d;
}
.red-button:hover {
    background-color: #cc1635;
}

img.lender {
    display: inline-block;
    vertical-align: middle;
    width: 10% !important;
    height: auto !important;
    margin: 0.5%;
}

img.display-left {
    float:left;
    margin-right:10px;
    margin-bottom:10px;
}
img.display-right {
    float:right;
    margin-left:10px;
    margin-bottom:10px;
}
.clear-float {
    clear:both;
}

/*** calculators ***/
.VisiCalcClass iframe {
    background:url(https://keo-cms.appspot.com.storage.googleapis.com/sites/priorityhl/app_files/img/loader.gif) 50% 15% no-repeat;
    background-size: 80px 80px;
    min-width: 640px;
    min-height: 800px;
    margin:0;
    padding:0;
}
iframe {
    width: 100%;
}
#Loan_Repayment_Calculator { min-height:750px; }
#Borrowing_Power_Calculator { min-height:750px; }
#Budget_Planner { min-height:2850px; }
#Compound_Interest_Calculator { min-height:850px; }
#Credit_Card_Calculator { min-height:900px; }
#How_Long_to_Repay_Calculator { min-height:750px; }      
#Interest_Only_Mortgage_Calculator { min-height:750px; }
#Saving_Calculator { min-height:600px; }
#Split_Loan_Calculator { min-height:800px; }
#Property_Selling_Cost_Calculator { min-height:700px; }
#Reverse_Mortgage_Calculator { min-height:1100px; }
#Stamp_Duty_Calculator { min-height:800px; } 

#Income_Gross_Up_Calculator{ min-height:900px; }
#Income_Gross_Up_Calculator{ min-height:900px; }
#RentvsBuyCalculator { min-height:1100px; }
#Mortgage_Switching_Calculator { min-height:1100px; }

/* had to add */
#Comparison_Rate_Calculator,
#Extra_Repayment_Calculator,
#Home_Loan_Offset_Calculator,
#Income_Tax_Calculator,
#Introductory_Rate_Loan_Calculator,
#Leasing_Calculator,
#Lump_Sum_Repayment_Calculator,
#Property_Buying_Cost_Calculator,
#Income_Annualisation_Calculator,
#Fortnightly_Repayment_Calculator { min-height:800px; }

#Loan_Comparison_Calculator,
#RentVsBuyCalculator,
#How_Long_to_Save_Calculator { min-height:900px; }

/* provided */
@media screen and (max-width: 767px) {
    .VisiCalcClass iframe {
        min-width: 100%;
        min-height:1250px;
        margin:0;
        padding:0;
    }
    #How_Much_to_Deposit_Calculator,
    #Comparison_Rate_Calculator,
    #Extra_Repayment_Calculator,
    #Home_Loan_Offset_Calculator,
    #Income_Tax_Calculator,
    #Introductory_Rate_Loan_Calculator,
    #Leasing_Calculator,
    #Lump_Sum_Repayment_Calculator,
    #Property_Buying_Cost_Calculator,
    #Income_Annualisation_Calculator,
    #Fortnightly_Repayment_Calculator { min-height:1250px; }

    #Mortgage_Switching_Calculator { min-height:1900px; }
    #Loan_Repayment_Calculator,
    #Borrowing_Power_Calculator { min-height:1800px; }
    #Budget_Planner { min-height:5000px; }
    #Fortnightly_Repayment_Calculator { min-height: 1350px; }
    #Comparison_Rate_Calculator { min-height:1450px; }
    #Compound_Interest_Calculator { min-height:1200px; }
    #Credit_Card_Calculator { min-height:1500px; }
    #Extra_Repayment_Calculator { min-height:1450px; }
    #Home_Loan_Offset_Calculator{ min-height:1400px; }
    #How_Long_to_Repay_Calculator { min-height:1250px; }
    #Interest_Only_Mortgage_Calculator { min-height:1450px; }
    #Saving_Calculator { min-height:1250px; }
    #Introductory_Rate_Loan_Calculator{ min-height:1400px; }
    #Lump_Sum_Repayment_Calculator { min-height:1450px; }
    #Split_Loan_Calculator { min-height:1550px; }
    #Loan_Comparison_Calculator { min-height:1800px; }
    #Property_Buying_Cost_Calculator { min-height:1850px; }
    #Property_Selling_Cost_Calculator { min-height:1650px; }
    #Reverse_Mortgage_Calculator { min-height:1900px; }
    #Stamp_Duty_Calculator { min-height:1250px; }      
    #Income_Gross_Up_Calculator{ min-height:1700px; }
    #Income_Gross_Up_Calculator{ min-height:1700px; }
    #RentvsBuyCalculator { min-height:1900px; }
    #How_Long_to_Save_Calculator { min-height: 1160px; }
}

@media screen and (max-width: 1200px) {
    img.lender{
        width: 15% !important;
    }
}

@media only screen and (max-width: 760px){
    img.lender {
        width: 20% !important;
    }
    .two-column {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        column-gap: 0;
        padding-top:0;
    }
    .two-column p:first-of-type {
        margin-top: auto;
    }
    .grey-paragraph,
    .red-paragraph {
        padding: 20px;
    }
}

@media only screen and (max-width: 650px){
    .img-display-left,
    .img-display-right,
    .t-news-item .graphic {
        max-width: 100%;
        width: 100% !important;
        height: auto !important;
        float: none;
        margin: 10px 0;
    }
}

@media screen and (max-width: 500px){
    img.lender {
        width: 30% !important;
    }
}