﻿/*slider*/
.ui-slider-horizontal {
    height: .6em;
    border-radius: 20px;
    box-shadow: inset 0px 3px 3px lightgray;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -.4em;
    border-radius: 20px;
    border: 5px solid white;
    box-shadow: 0px 0px 2px #444444;
    background: rgb(141,198,63);
}

a:focus {
    outline: none;
}
.ui-slider .ui-slider-range {
    border: 1px;
    border-radius: 20px;
    background: rgb(189,222,143);
    box-shadow: inset 0px 3px 3px rgb(130,185,55);
}

.refinance-debt, .debt {
    position: relative;
}

.button.remove {
    position: absolute;
    right: -20px;
    top: 32px;
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 100px;
    line-height: 22px;
    font-size: 10px;
    background-color: #888888;
}

.button.remove:hover {
    background-color: #bbbbbb;
}

.tooltip-item {
    width: 20px;
    height: 20px;
    line-height: 20px;
    padding: 0;
    border-radius: 100px;
    font-size: 10px;
    background-color: rgb(141,198,63);
    margin: 0 5px;
    top: -2px;
}

.qtip {
    font-size: 12px;
}

.tooltip-item:hover {
    background-color: rgb(161,218,83);
}

#refinanceDebtsWrapper {
    width: 100%;
    display: inline-block;
    margin-top: 20px;
}

#coApplicantWrapper {
	background: #ebebeb;
	padding-top: 25px;
	padding-bottom: 10px;
}

.customer-agrees {
	padding-left: 25px;
	text-indent: -25px;
}

h2 {
    margin-bottom: 10px;
}

.financial-form,
.marital-status-form,
.housing-form {
    background-color: #ebebeb;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 1rem;
    width: 100%;
}

.checkbox {
    margin-top: 30px;
}

button[type="submit"] {
    margin-top: 20px;
}

.add-more {
    font-size: 15px;
}

.form-row {
    display: block;
}

.form-row hr {
    flex-grow: 2;
}

#errorSummary { 
	margin: 20px 0;
}

/*gömda fält vid start*/
.coApplicant-form,
.financial-form-wrapper,
.marital-status-form-wrapper,
.housing-form-wrapper,
.employer-field,
.house-rent-field {
    display: none;
}

.employer-field {
    width: 100%;
}

#refinanceWrapper {
    display: none;
}

.hidden {
    display: none;
}

.input-addon {
    position: relative;
    left: -30px;
    color: #8dc63f;
    font-size: 16px;
    font-weight: bold;

}

#LoanAmount,
#RepaymentPeriod,
input[type="text"].refinance-debt-amount {
	display: inline-block;
	text-align: right;
	
	color: #8dc63f;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 0;
}

#LoanAmount,
#RepaymentPeriod {
	max-width: 100px;
    padding-right: 30px;
}

input[type="text"].amount-field {
    padding-right: 35px;
}
.input-addon {
    position:relative;
    left: -30px;
    width: 0;
    display: inline-block;
}

.refinance-debt .field-wrapper {
    position: relative;
}

.validation-summary-errors {
    color: red;
}

.validation-summary-errors ul {
    list-style: none;
}

#CustomerAgrees {
    margin-bottom: 0;
	margin-right: 10px;
	vertical-align: middle;
}

.small {
    font-size: 80%;
	display: inline-block;
}

textarea {
    max-width: 100%;
}

h2 {
    display: inline-block;
}

.icon-title {
    margin-right: 30px;
}

.tooltip-text {
    font-size: 14px;
    color: #8dc63f;
}


/* bit ugly fix for loan form header */
@media screen and (max-width: 420px) {
    #layout-loan header {
        padding-bottom: 30px;
        padding-top: 30px;
    }   

    #loan-icon {
        margin-top: 5px;
    }
}


